char-code-names

1.0.2 • Public • Published

npm mit license build status coverage status deps status

Common used char codes and their common used names as json object

Install

npm i --save char-code-names
npm test

Usage

For more use-cases see the tests

var charCodeNames = require('char-code-names');
 
charCodeNames(42);   //=> ['star','asterisk'],
charCodeNames(44);   //=> ['comma']
charCodeNames('59'); //=> ['semicolon','semi-colon','semi colon']
charCodeNames();
//=> {
//  '32': ['space'],
//  '33': ['negate','exclam','exclamation','exclamation mark','exclam mark'],
//  '34': ['double','doublequote','double-quote','double quote'],
//  '35': ['hash','number','hash sign','number sign'],
//  '36': ['dollar','dollar sign']
//  ...
//}

Author

Charlike Mike Reagent

License MIT license

Copyright (c) 2015 Charlike Mike Reagent, contributors.
Released under the MIT license.


Powered and automated by kdf, March 17, 2015

Package Sidebar

Install

npm i char-code-names

Weekly Downloads

9

Version

1.0.2

License

MIT

Last publish

Collaborators

  • vanchoy
  • tunnckocore