Skip to content

litert/base62x.js

Repository files navigation

LiteRT/BASE62x

npm version License GitHub issues GitHub Releases

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 --save

Quick 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.

About

The encoding and decoding library for BASE62x, in JavaScript/TypeScript/WebAssembly.

Resources

License

Stars

Watchers

Forks

Packages

No packages published