Wondering what’s next for npm?Check out our public roadmap! »

string-asc

0.0.6 • Public • Published

string-asc

NOTE: string-asc was renamed to @extra-string/asc. NPM

Return ASCII code of a character in string.

var asc = require('string-asc');
 
asc('A');     // 65
asc('aA');    // 97
asc('aA', 1); // 65

Keywords

Install

npm i string-asc

DownloadsWeekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

2.1 kB

Total Files

4

Last publish

Collaborators

  • avatar