The encoding and decoding library for BASE62x, in Node.js.
WebAssembly implementation included, which could be also used in the browser.
npm i @litert/base62x --save
Use the library in Node.js like this:
The default export is the WebAssembly implementation.
import * as Base62x from "@litert/base62x";
const b62x = Base62x.stringToBase62x('Hello, 世界!');
console.log('Base62x Encoded:', b62x);
const decoded = Base62x.stringFromBase62x(b62x);
console.log('Base62x Decoded:', decoded);
This library is published under Apache-2.0 license.