char-code-names

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


Keywords
at, char, char-at, char-code-at, charcode, charname, code, codes, common, help, names, used, util, utility, utils
License
MIT
Install
npm install char-code-names@1.0.2

Documentation

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