base360-emoji
TypeScript icon, indicating that this package has built-in type declarations

2.0.0Β β€’Β PublicΒ β€’Β Published

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

Readme

Keywords

Package Sidebar

Install

npm i base360-emoji

Weekly Downloads

1

Version

2.0.0

License

UNLICENSED

Unpacked Size

7.47 kB

Total Files

5

Last publish

Collaborators

  • dastrangeboi