body-parser
Node.js body parsing middleware
body-parser@2.4.0 was published on 2026-10-22. Its manifest declares 9 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=18.
All body-parser versions · Permanent reference to 2.4.0
Package specifications
| Version | 2.4.0 |
|---|---|
| License declaration | MIT |
| Published | 2026-10-22T11:39:38.614Z |
| Node.js requirement | >=18 |
| Type declarations | Not declared |
| Runtime dependency count | 9 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 41.89 KiB |
| Published file count | 10 |
| Package type | commonjs |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 42 |
| Repository stars | 5500 |
| Repository forks | 796 |
Install body-parser 2.4.0
npm install body-parser@2.4.0 pnpm add body-parser@2.4.0 yarn add body-parser@2.4.0
Runtime dependencies
- qs ^6.16.1
- bytes ^3.1.2
- debug ^4.4.3
- type-is ^2.1.0
- raw-body ^3.0.2
- iconv-lite ^0.7.3
- http-errors ^2.0.1
- on-finished ^2.4.1
- content-type ^2.1.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- async-function@1.0.0 — indirect
- async-generator-function@1.0.0 — indirect
- bytes@3.1.2 — direct
- call-bind-apply-helpers@1.0.2 — indirect
- call-bound@1.0.4 — indirect
- content-type@2.1.0 — direct
- debug@4.4.3 — direct
- depd@2.0.0 — indirect
- dunder-proto@1.0.1 — indirect
- ee-first@1.1.1 — indirect
- es-define-property@1.0.1 — indirect
- es-errors@1.3.0 — indirect
- es-object-atoms@1.1.2 — indirect
- function-bind@1.1.2 — indirect
- generator-function@2.0.1 — indirect
- get-intrinsic@1.3.1 — indirect
- get-proto@1.0.1 — indirect
- gopd@1.2.0 — indirect
- has-symbols@1.1.0 — indirect
- hasown@2.0.4 — indirect
- http-errors@2.0.1 — direct
- iconv-lite@0.7.3 — direct
- inherits@2.0.4 — indirect
- math-intrinsics@1.1.0 — indirect
- media-typer@1.1.1 — indirect
- mime-db@1.54.0 — indirect
- mime-types@3.0.2 — indirect
- ms@2.1.3 — indirect
- object-inspect@1.13.4 — indirect
- on-finished@2.4.2 — direct
- qs@6.17.0 — direct
- raw-body@3.0.2 — direct
- safer-buffer@2.1.2 — indirect
- setprototypeof@1.2.0 — indirect
- side-channel@1.1.1 — indirect
- side-channel-list@1.0.1 — indirect
- side-channel-map@1.0.1 — indirect
- side-channel-weakmap@1.0.2 — indirect
- statuses@2.0.2 — indirect
- toidentifier@1.0.1 — indirect
- type-is@2.1.0 — direct
- unpipe@1.0.0 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 7/10 — Found 14/18 approved changesets -- score normalized to 7 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Maintained | 10/10 — 18 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10 |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| Pinned-Dependencies | 6/10 — dependency not pinned by hash detected -- score normalized to 6 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Security-Policy | 10/10 — security policy file detected |
| Branch-Protection | 1/10 — branch protection is not maximal on development and all release branches |
| SAST | 9/10 — SAST tool detected but not run on all commits |
Evidence and freshness
- https://registry.npmjs.org/body-parser/2.4.0 — retrieved 2026-10-29T08:05:14.446Z (stale snapshot; refresh pending)
- https://api.deps.dev/v3/projects/github.com%2Fexpressjs%2Fbody-parser — retrieved 2026-10-29T05:59:59.369Z
- https://api.deps.dev/v3/systems/npm/packages/body-parser/versions/2.4.0 — retrieved 2026-10-29T08:41:19.648Z
- https://api.deps.dev/v3/systems/npm/packages/body-parser/versions/2.4.0:dependencies — retrieved 2026-10-29T08:41:19.680Z