base1112064

1.0.2 • Public • Published

base112064

A small javascript library to serialize your objects in as few characters as possible

Why call it base112064?

This library serializes an object using utf-8 encoding which has 112064 possible characters

Is this library right for me?

You absolutely should not use this library, or do, I'm not a cop

Usage

encode your object into a string then pass it as an argument to the default export from this library

import encode from 'base112064'
import {promises as fs} from 'promises'

let myData = await fs.readfile('./data.mp4')
console.log(encode(myData))

Does this compress my data?

Absolutely not, this simply takes advantage of the fact that the higher base you're using the fewer characters you need to represent the same data. the binary representation of your data is exactly the same under the hood

Readme

Keywords

none

Package Sidebar

Install

npm i base1112064

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

2.05 kB

Total Files

4

Last publish

Collaborators

  • withenex