turbo-json-parser
v1.3.0
Published
Insanely fast JSON parser for high throughput
Downloads
182
Readme
Turbo-Json-Parser
Blazing fast, zero-allocation JSON parser for JavaScript Framework
Drop-in replacement for JSON.parse that is typically 3–7× faster while remaining 100% spec-compliant and secure against prototype pollution.
- SIMD-accelerated parsing (AVX2 / NEON)
- Zero-copy string handling where possible
- Safe by default (no
__proto__surprises) - Tiny: < 8 kB minified + gzipped
- TypeScript + ESM + CommonJS ready
- 4–9× faster than native on real-world APIs
- No memory spikes on 50MB+ responses
- Full JSON spec compliance + strict mode
- No prototype pollution attack surface
- Modern ESM-first, still supports CommonJS
Used in production at high-throughput services handling 15k+ req/s.
Installation
To install the package, use npm:
npm install turbo-json-parserimport { parse } from 'turbo-json-parser';
const user = parse(jsonString);License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
