1.0.0 • Published 7 years ago
char-to-ascii v1.0.0
char-to-ascii
Convert character(s) to their respective ASCII codes.
Install
$ npm install --save char-to-ascii
Usage
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
1.0.0
7 years ago