code-array
v0.0.2
Published
Small module for converting strings to char code arrays and back to strings.
Downloads
7
Readme
code-array
Simple utility module that will help you with converting:
- strings to character code arrays
- character code arrays to strings
Installation
npm install code-array --save
Example usage
var codeArray = require('code-array');
var arr = codeArray.fromString('ABC'); // arr is [65, 66, 67]
var str = codeArray.toString([65, 66, 67]); // str is 'ABC'