1.0.1 • Published 6 months ago
@litert/base32 v1.0.1
LiteRT/BASE32
The encoding and decoding library for BASE32, in Node.js.
WebAssembly implementation included, which could be also used in the browser.
Installation
npm i @litert/base32 --saveQuick Start
Use the library in Node.js like this:
The default export is the WebAssembly implementation.
import * as Base32 from "@litert/base32";
const b32 = Base32.stringToBase32('Hello, 世界!');
console.log('Base32 Encoded:', b32);
const decoded = Base32.stringFromBase32(b32);
console.log('Base32 Decoded:', decoded);Documents
License
This library is published under Apache-2.0 license.