u8a
A collection of functions for working with Uint8Array representations of strings.
Install
$ npm install u8a
Usage
var u8a = var str = var hex = console// => [104, 101, 108, 108, 111] console// => 'hello' console// => '68656c6c6f'
Page weight (all combined)
compression | size |
---|---|
u8a.js | 1.51 kB |
u8a.min.js | 1.08 kB |
u8a.min.js.gz | 525 B |
License
Public domain. No warranty.