JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q34698F
  • License MIT

Node.js module to encode and decode base32 string

Package Exports

  • edbase32

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 (edbase32) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

edbase32

edbase32 is the RFC 3548 base32 encoding and decoding tool.

Install

npm install edbase32

Usage

var base32 = require('edbase32');
var s = 'abc';
console.log('source:' + s);
//source:abc
var es = base32.encode(s);
console.log('encoded string:' + es);
//encoded string:MFRGG===
var ds = base32.decode(es);
console.log('decoded string:' + ds);
//decoded string:abc

License

This library is licensed under MIT.