Skip to content

Small JavaScript module simplifying string/ character code array conversions

License

Notifications You must be signed in to change notification settings

jarst/code-array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

code-array

Build Status Coverage Status npm: dependencies license:mit

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'

About

Small JavaScript module simplifying string/ character code array conversions

Resources

License

Stars

Watchers

Forks

Packages

No packages published