Milliparsec: Tiny HTTP Body Parser
JSON →Milliparsec is a minimalistic and performant HTTP body parser for modern Node.js environments, currently at version 5.1.1. It provides middleware for parsing JSON, raw, URL-encoded, and multipart form data, making it compatible with frameworks like tinyhttp and Express. The library boasts a tiny package size (under 8KB) and zero dependencies, setting it apart from more heavy-weight alternatives like `body-parser` and `formidable`, offering significantly faster parsing speeds (approximately 15% faster than `body-parser` and 4x faster than `formidable`). It receives active development, with several minor and patch releases in quick succession, indicating a steady release cadence for bug fixes and feature enhancements, such as the recently added `type` and `reviver` options for JSON parsing in v5.1.0.
Traffic · last 30 days ↑100% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇮 Finland · 🇩🇪 Germany