utf8int

1.0.0 • Public • Published

utf8int

Convert a string to utf8 character array in integers.

Install

$ npm install --save utf8int

Usage

var utf8int = require('utf8int');
 
var string = 'あいうえお';
var intVals = utf8int(string);
 
console.log(intVals); // [0x3042, 0x3044, 0x3046, 0x3048, 0x304a]

test

$ npm test

Readme

Keywords

Package Sidebar

Install

npm i utf8int

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • cherrry