@v19/base32
v0.1.2
Published
A simple base32 encoder/decoder for JavaScript.
Downloads
4
Readme
@v19/base32
A simple base32 encoder/decoder for JavaScript.
Usage
import { encode, decode } from '@v19/base32';
const encoded = encode(new TextEncoder().encode('Hello, World!'));
console.log(encoded); // JBSWY3DPFQQFO33SNRSCC===
const decoded = new TextDecoder().decode(decode(encoded));
console.log(decoded); // Hello, World!