char-to-ascii

1.0.0 • Public • Published

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

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i char-to-ascii

    Weekly Downloads

    47

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • jmoxey