1.0.2 • Published 10 years ago

char-code-names v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

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