项目作者: shinnn

项目描述 :
All character codes of ASCII control characters
高级语言: JavaScript
项目地址: git://github.com/shinnn/ascii-control-char-codes.git
创建时间: 2016-12-27T09:31:45Z
项目社区:https://github.com/shinnn/ascii-control-char-codes

开源协议:

下载


ascii-control-char-codes

npm version
Build Status

All character codes of ASCII control characters

  1. import asciiControlCharacterCodes from 'ascii-control-char-codes';
  2. asciiControlCharacterCodes; //=> [0, 1, ... 31, 127]
  3. // '\n' is one of the ASCII control characters
  4. asciiControlCharacterCodes.includes('\n'.charCodeAt(0)); //=> true
  5. // 'A' is not a control character
  6. asciiControlCharacterCodes.includes('A'.charCodeAt(0)); //=> false

Installation

Use npm.

  1. npm install ascii-control-char-codes

API

caretNotationCharacters

Type: integer[]

License

Creative Commons Zero v1.0 Universal