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
npm install ascii-control-char-codes
Type: integer[]