Base24 encoder/decoder for JavaScript
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Nicolas Goy c8f822590b
Merge pull request #3 from kuon/dependabot/npm_and_yarn/lodash-4.17.19
4 months ago
.github/workflows Create nodejs.yml 9 months ago
.editorconfig Base implementation (need tests) 9 months ago
.gitignore Base implementation (need tests) 9 months ago
LICENSE-APACHE Base implementation (need tests) 9 months ago
LICENSE-MIT Base implementation (need tests) 9 months ago
MAKE.md Base implementation (need tests) 9 months ago
Makefile Base implementation (need tests) 9 months ago
README.md Add badges 9 months ago
index.js Remove debug code 9 months ago
package-lock.json Bump lodash from 4.17.15 to 4.17.19 4 months ago
package.json Bump version 8 months ago
test.js Add tests 9 months ago

README.md

GitHub Workflow Status npm NPM

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

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.