Package Exports
- crockford-base32
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (crockford-base32) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
crockford-base32
An implementation of Douglas Crockford's Base 32 encoding algorithm.
Installation
npm install --save crockford-base32Usage
const { CrockfordBase32 } = require('crockford-base32');
CrockfordBase32.encode(Buffer.from('some string')); // 3KDXPPA83KEHS6JVK7
CrockfordBase32.decode('3KDXPPA83KEHS6JVK7').toString(); // some string