package
encode/decode Uint8Arrays to strings
npm install isomorphic-textencoderGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
encode/decode Uint8Arrays to strings
This is just a thin wrapper that provides an isomorphic API.
npm install isomorphic-textencoder --saveimport { encode, decode } from "isomorphic-textencoder";
encode('Hello') // Uint8Array [ 72, 101, 108, 108, 111 ]
decode(new Uint8Array([72, 101, 108, 108, 111])) // 'Hello'None
None
MIT
Estimated unpacked size across 2 packages.
34.2 kB
Includes dependencies.