@januswel/base32
v1.0.2
Published
Base32 encoder/decoder for hex string
Downloads
61
Readme
hex to/from Base32 v1.0.2
compliant with RFC4648
Usage
CLI
npx @januswel/base32 encode 1234567890abcdef
npx @januswel/base32 decode CI2FM6EQVPG66===
JavaScript
const { encoded, decoded } = require('@januswel/base32')
const encoded = encode('1234567890abcdef')
const decoded = decode('CI2FM6EQVPG66===')
TypeScript
import { encode, decode } from '@januswel/base32'
const encoded = encode('1234567890abcdef')
const decoded = decode('CI2FM6EQVPG66===')