base24
v1.0.3
Published
A base24 encoder and decoder for JS
Downloads
207
Readme
Base24
An encoder/decoder for base24 binary-to-text encoding for JavaScript.
Installation
$ npm add base24
Usage
const Base24 = require('base24')
// Encode
let bytes = new Uint8Array([0x88, 0x55, 0x33, 0x11]);
let str = Base24.encode24(bytes);
str == "5YEATXA" // true
let bytes = Base24.decode24(str);
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.