Package Exports
- @uzmoi/clockwork-base32
- @uzmoi/clockwork-base32/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@uzmoi/clockwork-base32) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
clockwork-base32
A fast and minimal implementation of Clockwork Base32 for TypeScript.
Install
npm install @uzmoi/clockwork-base32
# or
deno add jsr:@uzmoi/clockwork-base32Usage
import * as base32 from "@uzmoi/clockwork-base32";
const array = Uint8Array.from("Hello, world!", (c) => c.charCodeAt());
base32.encode(array); // => "91JPRV3F5GG7EVVJDHJ22"
base32.decode("91JPRV3F5GG7EVVJDHJ22"); // => Same as `array`