1.0.1 • Published 6 months ago
@litert/base62x v1.0.1
LiteRT/BASE62x
The encoding and decoding library for BASE62x, in Node.js.
WebAssembly implementation included, which could be also used in the browser.
Installation
npm i @litert/base62x --saveQuick Start
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);Documents
License
This library is published under Apache-2.0 license.