Package
stream-length
For a given Buffer or Stream, this module will attempt to determine the total length of the stream contents. It currently supports Buffers, `fs` streams, `http` responses, and `request` objects, and allows for specifying custom stream types.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 913.3k
- -16% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 11 years ago
- v1.0.2
- GitHub stars
- -
- Open issues / PRs
- - / -
- Contributors
- -
- Commits, last 52 weeks
- -
Downloads
Last week 2026-09-15 to 2026-09-21
913,318 downloads last week, 4,215,281 in the last month. The 12-month change of -16% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 03 in total
- Latest version
- 1.0.2, 21 Jan 201511 years ago
- First published
- 13 Jan 2015
- Last push to GitHub
- -
- Repository archived
- -
- Open issues
- -
- Open pull requests
- -
- Commits, last 52 weeks
- -
- Dependents on npm
- -
Major versions
- v1 first release 1.0.0, 13 Jan 2015
Recent releases
| Version | Published |
|---|---|
| 1.0.2 | 21 Jan 2015 |
| 1.0.1 | 13 Jan 2015 |
| 1.0.0 | 13 Jan 2015 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- -
- Dependencies (1)
bluebird
npm install stream-length- jsDelivr
https://cdn.jsdelivr.net/npm/stream-length@1.0.2/ - unpkg
https://unpkg.com/stream-length@1.0.2/ - esm.sh
https://esm.sh/stream-length@1.0.2
Indexability: Not indexed (discovery only): GitHub data not fetched yet.