2.0.0 • Published 1 year ago

base360-emoji v2.0.0

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
1 year ago

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
2.0.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago