Package Exports
- simple-base32
- simple-base32/out/main/index.js
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 (simple-base32) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Base32 Encoder/Decoder
Yet another Base32 encoder/decoder with following goals:
- Actually works
- Written in TypeScript
- Simple API (just 2 functions, both work with string arguments)
- Node.js + Browser compatibility
- Custom alphabet support
- Extended character sets support (e.g. correctly encodes emojis back and forth)
Usage
import { encodeBase32, decodeBase32 } from 'simple-base32';
encodeBase32('Hello 👋 👾'); // jbs025dped2j9emled2j9en8
decodeBase32('jbs025dped2j9emled2j9en8'); // Hello 👋 👾