Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1 KB

README.md

File metadata and controls

36 lines (22 loc) · 1 KB

ascii-control-char-codes

npm version Build Status

All character codes of ASCII control characters

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 npm.

npm install ascii-control-char-codes

API

caretNotationCharacters

Type: integer[]

License

Creative Commons Zero v1.0 Universal