@uzmoi/clockwork-base32
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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`

Readme

Keywords

Package Sidebar

Install

npm i @uzmoi/clockwork-base32

Weekly Downloads

118

Version

1.0.2

License

MIT

Unpacked Size

7.43 kB

Total Files

9

Last publish

Collaborators

  • uzmoi