@hpcc-js/wasm-base91
v1.13.0
Published
hpcc-js - WASM Base91
Maintainers
Readme
title: Base91 description: WebAssembly wrapper for the Base91 encoding library outline: deep
@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
::: code-group
npm install @hpcc-js/wasm-base91yarn add @hpcc-js/wasm-base91pnpm add @hpcc-js/wasm-base91:::
Quick Start
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);