char-to-ascii
v1.0.0
Published
Convert character(s) to their respective ASCII codes.
Readme
char-to-ascii
Convert character(s) to their respective ASCII codes.
Install
$ npm install --save char-to-asciiUsage
const charToAscii = require('char-to-ascii');
charToAscii('unicorns');
//=> [117, 110, 105, 99, 111, 114, 110, 115]API
charToAscii(input)
input
Type: string
The set of characters you want to convert into ASCII.
License
MIT © jxom
