Skip to content
JS
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.

v1.0.2, 21 Jan 2015WTFPLCommonJSTypes: NoneFiles and file systems
$ npm install stream-length

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
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.4m (18 Aug 2026)Low 703.3k (1 Sept 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v1 first release 1.0.0, 13 Jan 2015

Recent releases

VersionPublished
1.0.221 Jan 2015
1.0.113 Jan 2015
1.0.013 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/stream-length@1.0.2/
  • unpkghttps://unpkg.com/stream-length@1.0.2/
  • esm.shhttps://esm.sh/stream-length@1.0.2
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet.