Create Uint8Array from string
$ yarn add u8array
$ npm install u8array
const u8 = require('u8array');
// returns Uint8Array [116, 101, 115, 116];
const uint8object = u8('test');
// returns [116, 101, 115, 116];
const array = [...u8('test')];
MIT © Benjamin Grant