https://github.com/litert/base62x.js
The encoding and decoding library for BASE62x, in JavaScript/TypeScript/WebAssembly.
https://github.com/litert/base62x.js
Last synced: 4 months ago
JSON representation
The encoding and decoding library for BASE62x, in JavaScript/TypeScript/WebAssembly.
- Host: GitHub
- URL: https://github.com/litert/base62x.js
- Owner: litert
- License: apache-2.0
- Created: 2025-06-08T10:11:56.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-12-05T16:09:23.000Z (8 months ago)
- Last Synced: 2025-12-09T03:03:43.128Z (8 months ago)
- Language: TypeScript
- Size: 341 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
# LiteRT/BASE62x
[](https://www.npmjs.com/package/@litert/base62x "Stable Version")
[](https://github.com/litert/base62x/blob/master/LICENSE)
[](https://github.com/litert/base62x.js/issues)
[](https://github.com/litert/base62x.js/releases "Stable Release")
The encoding and decoding library for [BASE62x](https://ieeexplore.ieee.org/document/6020065?arnumber=6020065), in Node.js.
> WebAssembly implementation included, which could be also used in the browser.
## Installation
```sh
npm i @litert/base62x --save
```
## Quick Start
Use the library in Node.js like this:
> The default export is the WebAssembly implementation.
```ts
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
- [en-us](https://litert.org/projects/base62x.js/)
## License
This library is published under [Apache-2.0](./LICENSE) license.