body-parser
npm5.5k GitHub starsv2.4.0 · Oct 2026 · MIT (top-level declared license)
npm install body-parser- No known CVEs
- 594.5M downloads/mo
- 87 versions
Description
Node.js body parsing middleware
Licenses
Declared license
MIT (top-level declared license of body-parser)
Transitive dependency licenses
body-parser pulls in 42 transitive dependencies across 3 distinct licenses, all permissive.
| License | Category | Dependencies |
|---|---|---|
| MIT | Permissive | 39 of 42 |
| ISC | Permissive | 2 of 42 |
| BSD-3-Clause | Permissive | 1 of 42 |
This view is derived from declared package metadata, and a full FOSSA scan detects licenses that declared metadata misses. Scan free.
License and vulnerability information on this page is derived from public package metadata and public advisory databases. It is not legal advice, and it reflects the top-level declared license only. Verify the license and terms of any software for your own needs.
Need body-parser approved? Get the full license and vulnerability report for your codebase. Scan free.
Scan freeVulnerabilities
No known CVEs across published versions
Version history
| Version | Published | License |
|---|---|---|
| 2.4.0 | Oct 2026 | MIT |
| 1.20.9 | Oct 2026 | |
| 1.20.8 | Sep 2026 | |
| 1.20.6 | Jul 2026 | |
| 2.3.0 | Jun 2026 | |
| 1.20.5 | Apr 2026 | |
| 2.2.2 | Jan 2026 | |
| 1.20.4 | Dec 2025 | |
| 2.2.1 | Nov 2025 | |
| 2.2.0 | Mar 2025 | |
| 2.1.0 | Feb 2025 | |
| 2.0.2 | Oct 2024 | |
| 2.0.1 | Sep 2024 | |
| 2.0.0 | Sep 2024 | |
| 1.20.3 | Sep 2024 | |
| 1.20.2 | Feb 2023 | |
| 1.20.1 | Oct 2022 | |
| 1.20.0 | Apr 2022 | |
| 1.19.2 | Feb 2022 | |
| 1.19.1 | Dec 2021 | |
| 1.19.0 | Apr 2019 | |
| 1.18.3 | May 2018 | |
| 1.18.2 | Sep 2017 | |
| 1.18.1 | Sep 2017 | |
| 1.18.0 | Sep 2017 |
25 older releases
| Version | Published | License |
|---|---|---|
| 1.17.2 | May 2017 | |
| 1.17.1 | Mar 2017 | |
| 1.17.0 | Mar 2017 | |
| 1.16.1 | Feb 2017 | |
| 1.16.0 | Jan 2017 | |
| 1.15.2 | Jun 2016 | |
| 1.15.1 | May 2016 | |
| 1.15.0 | Feb 2016 | |
| 1.14.2 | Dec 2015 | |
| 1.14.1 | Sep 2015 | |
| 1.14.0 | Sep 2015 | |
| 1.13.3 | Jul 2015 | |
| 1.13.2 | Jul 2015 | |
| 1.13.1 | Jun 2015 | |
| 1.13.0 | Jun 2015 | |
| 1.12.4 | May 2015 | |
| 1.12.3 | Apr 2015 | |
| 1.12.2 | Mar 2015 | |
| 1.12.1 | Mar 2015 | |
| 1.12.0 | Feb 2015 | |
| 1.11.0 | Jan 2015 | |
| 1.10.2 | Jan 2015 | |
| 1.10.1 | Jan 2015 | |
| 1.10.0 | Dec 2014 | |
| 1.9.3 | Nov 2014 |
Latest pre-release: 2.0.0-beta.2 (Feb 2023). Pre-releases (canary, beta, release candidate and similar) are not listed.
npm install body-parser resolves to the 2.x line today. Older major lines may still receive fixes.
Dependencies
Direct dependencies
9 direct dependencies, 42 in total including transitive. Licenses across the full tree are summarized under Licenses.
| Package | Version range | License |
|---|---|---|
| bytes | ^3.1.2 | MIT |
| content-type | ^2.1.0 | MIT |
| debug | ^4.4.3 | MIT |
| http-errors | ^2.0.1 | MIT |
| iconv-lite | ^0.7.3 | MIT |
| on-finished | ^2.4.1 | MIT |
| qs | ^6.16.1 | BSD-3-Clause |
| raw-body | ^3.0.2 | MIT |
| type-is | ^2.1.0 | MIT |
Dependents
- express
Based on what each package declares in its published metadata. The dependencies your build actually installs can differ, and a FOSSA scan of your project resolves the full tree.
Popularity
- Downloads last month
- 594.5M
- Known dependents in this corpus
- 120,677
- GitHub stars
- 5.5k
- OpenSSF score
- 7.4 / 10
FAQ
- What is the latest version of body-parser?
- The latest version of body-parser is 2.4.0, published October 2026.
- What license is body-parser under?
- body-parser declares MIT as its top-level declared license. Its dependency tree spans 3 distinct licenses.
- Does body-parser have known vulnerabilities?
- No known CVEs are recorded against published versions of body-parser.
- How do I install body-parser?
- Install body-parser with npm install body-parser.
- How do I generate an SBOM that includes body-parser?
- FOSSA's SBOM generator produces SPDX or CycloneDX output for a codebase that includes body-parser. Generate an SPDX or CycloneDX SBOM free.