Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/naipofo/json-tiny

minify your json even more
https://github.com/naipofo/json-tiny

Last synced: 25 days ago
JSON representation

minify your json even more

Awesome Lists containing this project

README

        

# JSON-tiny

Stringify objects beyond what `JSON.stringify` can!
JSON-tiny can reduce the size of JSON strings by strategically using scientific notation to reduce size of numbers. Objects stringifed with JSON-tiny will still work everywhere just like a normal JSON string would, it keeps to the [JSON standard](https://json.org).
|JSON.stringify|JSON-tiny|
|--|--|
|`200000`|`2e5`|
|`20e+30`|`20e30`|
|`2.6e+40`|`26e39`|
|`-5.6e-20`|`-56e-21`|