Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

hex to/from Base32 v1.0.2 test badge

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===')