Skip to content

litert/base32.js

Repository files navigation

LiteRT/BASE32

npm version License GitHub issues GitHub Releases

The encoding and decoding library for BASE32, in Node.js.

WebAssembly implementation included, which could be also used in the browser.

Installation

npm i @litert/base32 --save

Quick Start

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);

Documents

License

This library is published under Apache-2.0 license.

About

The encoding and decoding library for BASE32, in Node.js.

Resources

License

Stars

Watchers

Forks

Packages

No packages published