Skip to content

nothingrandom/u8array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

u8array

Travis (.com)

Create Uint8Array from string

Install

$ yarn add u8array
$ npm install u8array

Usage (require in JS)

const u8 = require('u8array');

// returns Uint8Array [116, 101, 115, 116];
const uint8object = u8('test');

// returns [116, 101, 115, 116];
const array = [...u8('test')];

License

MIT © Benjamin Grant

About

Create Uint8Array from string

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published