2.0.0 • Published 1 year ago
base360-emoji v2.0.0
The idea for this project came about as a joke although this package may have some actual usage
Installing
For npm:
$ npm install base360-emoji
For yarn:
$ yarn add base360-emoji
Basic Example
const Base360 = require('base360-emoji');
// some very large number
const number = 100n ** 10n;
const encoded = Base360.encode(number); // 🩰🍁🎩🌊🌚🦅🔓🎀
const decoded = Base360.decode(encoded); // 100000000000000000000n
Todo
- Does this actually save space for larger numbers than base10, base16, and base32?
- Time complexity of the functions