Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shinnn/ascii-control-char-codes
All character codes of ASCII control characters
https://github.com/shinnn/ascii-control-char-codes
array ascii-control-characters character-codes javascript
Last synced: 27 days ago
JSON representation
All character codes of ASCII control characters
- Host: GitHub
- URL: https://github.com/shinnn/ascii-control-char-codes
- Owner: shinnn
- Created: 2016-12-27T09:31:45.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-14T13:24:16.000Z (almost 6 years ago)
- Last Synced: 2024-10-03T06:44:42.287Z (about 1 month ago)
- Topics: array, ascii-control-characters, character-codes, javascript
- Language: JavaScript
- Homepage: https://npm.runkit.com/ascii-control-char-codes
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ascii-control-char-codes
[![npm version](https://img.shields.io/npm/v/ascii-control-char-codes.svg)](https://www.npmjs.com/package/ascii-control-char-codes)
[![Build Status](https://travis-ci.com/shinnn/ascii-control-char-codes.svg?branch=master)](https://travis-ci.com/shinnn/ascii-control-char-codes)All character codes of ASCII control characters
```javascript
import asciiControlCharacterCodes from 'ascii-control-char-codes';asciiControlCharacterCodes; //=> [0, 1, ... 31, 127]
// '\n' is one of the ASCII control characters
asciiControlCharacterCodes.includes('\n'.charCodeAt(0)); //=> true// 'A' is not a control character
asciiControlCharacterCodes.includes('A'.charCodeAt(0)); //=> false
```## Installation
[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/about-npm/).
```
npm install ascii-control-char-codes
```## API
### caretNotationCharacters
Type: `integer[]`
## License
[Creative Commons Zero v1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/deed)