json-shrinker
v1.0.4
Published
Minify JSON by removing whitespace and using scientific notation for numbers.
Downloads
4
Maintainers
Readme
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.