Skip to content

@hpcc-js/wasm-base91

This package provides a WebAssembly wrapper around the Base91 library. This allows for the encoding and decoding of binary data to a more compact form than Base64.

Installation

sh
npm install @hpcc-js/wasm-base91
sh
yarn add @hpcc-js/wasm-base91
sh
pnpm add @hpcc-js/wasm-base91

Quick Start

typescript
import { Base91 } from "@hpcc-js/wasm-base91";

const base91 = await Base91.load();

const encoded_data = await base91.encode(data);
const decoded_data = await base91.decode(encoded_data);

Classes

Reference

Released under the Apache-2.0 License.