json-shrinker

1.0.4 • Public • Published

json-shrinker

Minify JSON by Removing Whitespace and by using Scientific Notation for Numbers

Whitespace Removal Example: { "foo" : "bar" } => {"foo":"bar"}

Scientific Notation Example: {"foo": 10000000000} => {"foo":1e10}

JSON-minify is best suited for JSON files containing alot of numbers, such as timestamps, and allows you to make JSON files take up less space, without the hassle of changing to msgpack, or another much smaller format.

Package Sidebar

Install

npm i json-shrinker

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

6.13 kB

Total Files

4

Last publish

Collaborators

  • ecc521