Skip to main content
FOSSA Logo
Skip to package details

body-parser

npm5.5k GitHub stars

v2.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.

LicenseCategoryDependencies
MITPermissive39 of 42
ISCPermissive2 of 42
BSD-3-ClausePermissive1 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 free

Vulnerabilities

No known CVEs across published versions

Version history

Published versions
VersionPublishedLicense
2.4.0Oct 2026MIT
1.20.9Oct 2026
1.20.8Sep 2026
1.20.6Jul 2026
2.3.0Jun 2026
1.20.5Apr 2026
2.2.2Jan 2026
1.20.4Dec 2025
2.2.1Nov 2025
2.2.0Mar 2025
2.1.0Feb 2025
2.0.2Oct 2024
2.0.1Sep 2024
2.0.0Sep 2024
1.20.3Sep 2024
1.20.2Feb 2023
1.20.1Oct 2022
1.20.0Apr 2022
1.19.2Feb 2022
1.19.1Dec 2021
1.19.0Apr 2019
1.18.3May 2018
1.18.2Sep 2017
1.18.1Sep 2017
1.18.0Sep 2017
25 older releases
Older published versions
VersionPublishedLicense
1.17.2May 2017
1.17.1Mar 2017
1.17.0Mar 2017
1.16.1Feb 2017
1.16.0Jan 2017
1.15.2Jun 2016
1.15.1May 2016
1.15.0Feb 2016
1.14.2Dec 2015
1.14.1Sep 2015
1.14.0Sep 2015
1.13.3Jul 2015
1.13.2Jul 2015
1.13.1Jun 2015
1.13.0Jun 2015
1.12.4May 2015
1.12.3Apr 2015
1.12.2Mar 2015
1.12.1Mar 2015
1.12.0Feb 2015
1.11.0Jan 2015
1.10.2Jan 2015
1.10.1Jan 2015
1.10.0Dec 2014
1.9.3Nov 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.

Direct dependencies
PackageVersion rangeLicense
bytes^3.1.2MIT
content-type^2.1.0MIT
debug^4.4.3MIT
http-errors^2.0.1MIT
iconv-lite^0.7.3MIT
on-finished^2.4.1MIT
qs^6.16.1BSD-3-Clause
raw-body^3.0.2MIT
type-is^2.1.0MIT

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.

Dependency graph and package metadata from deps.dev (Google Open Source Insights), used under CC BY 4.0.

Download counts from the npm public registry API.

Repository stars from the GitHub API.

OpenSSF Scorecard results from deps.dev.

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.