Package Exports
- hex-to-32
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 (hex-to-32) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
hex-to-32
Convert a hex string to base32 and back using rfc4648.
npm install --save hex-to-32var value = 0xDEADA5;
var hex = value.toString(16);
var encoded = hexTo32.encode(hex);
assert.equal(encoded, "32w2k");
var decoded = hexTo32.decode(encoded);
assert.equal(decoded, hex);