UNPKG

multiformats

Version:

Interface for multihash, multicodec, multibase and CID

14 lines (11 loc) 280 B
import { baseX } from './base.js' export const base36 = baseX({ prefix: 'k', name: 'base36', alphabet: '0123456789abcdefghijklmnopqrstuvwxyz' }) export const base36upper = baseX({ prefix: 'K', name: 'base36upper', alphabet: '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ' })