Package
raw-body
Get and validate the raw body of a readable stream.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 109m
- +122% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 2 months ago
- v4.0.0
- GitHub stars
- 407
- 73 forks
- Open issues / PRs
- 0 / 12
- Contributors
- 19
- Commits, last 52 weeks
- 47
Downloads
Last week 2026-09-15 to 2026-09-21
109,043,331 downloads last week, 525,294,123 in the last month. The 12-month change of +122% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 353 in total
- Latest version
- 4.0.0, 12 Jul 20262 months ago
- First published
- 14 Sept 2013
- Last push to GitHub
- 13 Sept 202611 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 12
- Commits, last 52 weeks
- 47
- Dependents on npm
- 2,109
Major versions
- v4 first release 4.0.0, 12 Jul 2026
- v3 first release 3.0.0, 25 Jul 2024
- v2 first release 2.0.0, 8 May 2015
- v1 first release 1.0.0, 17 Nov 2013
- v0 first release 0.0.1, 14 Sept 2013
Recent releases
| Version | Published |
|---|---|
| 4.0.0 | 12 Jul 2026 |
| 2.5.3 | 25 Nov 2025 |
| 3.0.2 | 21 Nov 2025 |
| 3.0.1 | 4 Sept 2025 |
| 3.0.0 | 25 Jul 2024 |
| 2.5.2 | 21 Feb 2023 |
| 2.5.1 | 28 Feb 2022 |
| 2.5.0 | 21 Feb 2022 |
| 2.4.3 | 15 Feb 2022 |
| 2.4.2 | 17 Nov 2021 |
| 2.4.1 | 26 Jun 2019 |
| 2.4.0 | 18 Apr 2019 |
| 2.3.3 | 8 May 2018 |
| 2.3.2 | 10 Sept 2017 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=22
- Runtimes
- -
- Unpacked size (npm)
- 29 kB
- Dependencies (2)
byteshttp-errors
npm install raw-body- jsDelivr
https://cdn.jsdelivr.net/npm/raw-body@4.0.0/ - unpkg
https://unpkg.com/raw-body@4.0.0/ - esm.sh
https://esm.sh/raw-body@4.0.0
Indexability: Indexed.