minijson

Minify JSON files fast! Supports Comments. Uses D, C, and AVX2 and SSE4_1 SIMD.

MIT License

Downloads
614
Stars
6
Committers
1

Bot releases are visible (Hide)

minijson - v1.0.3 Latest Release

Published by aminya about 1 month ago

minijson - v1.0.2

Published by aminya about 1 month ago

  • fix: chmod minijson on load in Nodejs due to npm not preserving permissions

Full Changelog: https://github.com/aminya/minijson/compare/v1.0.1...v1.0.2

minijson - v1.0.0

Published by aminya about 1 month ago

What's Changed

Full Changelog: https://github.com/aminya/minijson/compare/v0.6.2...v1.0.0

minijson - v0.6.2

Published by aminya almost 3 years ago

Fix Arm Mac fallback
Full Changelog: https://github.com/aminya/minijson/compare/v0.6.1...v0.6.2

minijson - v0.6.1

Published by aminya almost 3 years ago

What's Changed

Full Changelog: https://github.com/aminya/minijson/compare/v0.6.0...v0.6.1

minijson - 4180 times faster - Using SIMD (AVX2, SSE4_1)

Published by aminya over 3 years ago

This version makes minijson 4180 times faster than jsonminify. 🚀 It achieves this by using AVX2 and SSE4_1 CPU instructions.

❯ .\dist\minijson-benchmark.exe --benchmark-minifyString --benchmark-minifyFiles
Benchmark minifyString
14 ms
Benchmark minifyFiles
49 ms

❯ node .\benchmark\js-benchmark.mjs
Benchmark minifyString
58.502 seconds
Benchmark minifyFiles
58.703 seconds
minijson - Now 360 times faster than jsonminify!

Published by aminya over 3 years ago

minijson is now 360 times faster than jsonminify 🚀

❯ node .\benchmark\native-benchmark.mjs
0.163 seconds

❯ node .\benchmark\js-benchmark.mjs
58.818 seconds
minijson - Minify JSON with Comments

Published by aminya over 3 years ago

This version adds support for minifying the JSON files that have comments (single line or multiline).

minijson - Now 55 times faster than jsonminify!

Published by aminya over 3 years ago

The latest version brings a huge performance improvement. 🚀

In the extensive benchmark suite that minijson was tested on, it is now 55 times faster than jsonminify.

❯ node .\benchmark\native-benchmark.mjs
1.066 seconds

❯ node .\benchmark\js-benchmark.mjs
58.686 seconds
minijson - The First stable release

Published by aminya over 3 years ago