zero dependency base32 encoder/decoder based on rfc3548
npm install @distrentic/base32zero dependency base32 encoder/decoder based on rfc3548
``sh`
npm install @distrentic/base32
`sh`
yarn add @distrentic/base32
`typescript
import base32 from "@distrenctic/base32";
const encoded = base32.toBase32("test");
console.log(encoded);
// => ORSXG5AA
console.log(base32.fromBase32(encoded).toString());
// => test
`
- toBase32(< _string_ | _Uint8Array_ > input) - (_string_) - Encodes the data in input.
- fromBase32(< _string_ > input) - (_string_) - Decodes the base32 encoded data in input`.
Licensed under MIT license (LICENSE or