URL-Encoded Body Parser
JSON →urlencoded-body-parser is a minimalist JavaScript library designed for parsing `application/x-www-form-urlencoded` request bodies into JavaScript objects. It leverages the `qs` library internally for robust query string parsing. The current stable version is 3.0.0. The project maintains an irregular release cadence, with major versions typically introducing breaking API changes, such as the transition to a Promise-based API in v2.0.0. Its primary differentiator is its small footprint and straightforward, promise-returning API, making it suitable for lightweight HTTP servers and microservices, particularly those built with Node.js's `http` module or frameworks like Micro. It offers a `parse` function that takes an `http.IncomingMessage` and an optional `limit` parameter to prevent excessive memory usage, returning the parsed data as a Promise.
Traffic · last 30 days ↓33% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France · 🇳🇴 Norway