The encoding and decoding library for BASE32, in Node.js.
WebAssembly implementation included, which could be also used in the browser.
npm i @litert/base32 --save
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);
This library is published under Apache-2.0 license.