npm.io
1.0.5 • Published yesterday

base58-core

Licence
MIT
Version
1.0.5
Deps
1
Size
22 kB
Vulns
0
Weekly
1.2K

npm npm downloads license bundle size

@base58/core

Fast, tree-shakeable Base58 encoding with TypeScript support. Zero dependencies.

Features

  • Base58 encode/decode (Bitcoin alphabet)
  • Base58Check with double SHA-256 verification
  • ESM + CommonJS dual build
  • Full TypeScript types included
  • Compatible with Bitcoin, Solana, IPFS

CLI Tool

For command-line usage: base58-cli

Install

npm install @base58/core

Usage

import { encode, decode } from "@base58/core"; const enc = encode(new Uint8Array([72, 101, 108, 108, 111])); console.log(enc);

License

MIT

Keywords