Appearance
@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-base91sh
yarn add @hpcc-js/wasm-base91sh
pnpm add @hpcc-js/wasm-base91Quick 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);