@quentinadam/base58@0.1.5Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
quentinadam/deno-base58A simple library to encode and decode base58 strings
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
100%
Published
4 months ago (0.1.5)
@quentinadam/base58
A simple library to encode and decode base58 strings.
Optionnaly supports specifying the alphabet to use.
Usage
import * as base58 from '@quentinadam/base58'; base58.encode(new Uint8Array([72, 101, 108, 108, 111])); // returns '9Ajdvzr' base58.decode('9Ajdvzr'); // returns Uint8Array([72, 101, 108, 108, 111])
Built and signed on
GitHub Actions
Add Package
deno add jsr:@quentinadam/base58
Import symbol
import * as base__ from "@quentinadam/base58";
Import directly with a jsr specifier
import * as base__ from "jsr:@quentinadam/base58";
Add Package
pnpm i jsr:@quentinadam/base58
pnpm dlx jsr add @quentinadam/base58
Import symbol
import * as base__ from "@quentinadam/base58";
Add Package
yarn add jsr:@quentinadam/base58
yarn dlx jsr add @quentinadam/base58
Import symbol
import * as base__ from "@quentinadam/base58";
Add Package
npx jsr add @quentinadam/base58
Import symbol
import * as base__ from "@quentinadam/base58";
Add Package
bunx jsr add @quentinadam/base58
Import symbol
import * as base__ from "@quentinadam/base58";