JSPM

@uzmoi/clockwork-base32

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q30448F
  • License MIT

A fast and minimal implementation of Clockwork Base32 for TypeScript

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

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`