1.0.2 • Published 8 months ago

@uzmoi/clockwork-base32 v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

clockwork-base32

NPM Version JSR Version License npm bundle size

A fast and minimal implementation of Clockwork Base32 for TypeScript.

Install

npm install @uzmoi/clockwork-base32
# or
deno add jsr:@uzmoi/clockwork-base32

Usage

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`
1.0.2

8 months ago

1.0.1

8 months ago