Gathering detailed insights and metrics for readable-stream
Gathering detailed insights and metrics for readable-stream
Gathering detailed insights and metrics for readable-stream
Gathering detailed insights and metrics for readable-stream
Node-core streams for userland
npm install readable-stream
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
1,032 Stars
468 Commits
228 Forks
58 Watching
49 Branches
78 Contributors
Updated on 23 Oct 2024
Minified
Minified + Gzipped
JavaScript (99.45%)
HTML (0.36%)
Shell (0.19%)
Cumulative downloads
Total Downloads
Last day
-6.2%
30,897,308
Compared to previous day
Last week
2.1%
182,686,526
Compared to previous week
Last month
12.4%
742,130,175
Compared to previous month
Last year
10.3%
7,547,984,585
Compared to previous year
5
27
Node.js core streams for userland
1npm install readable-stream
This package is a mirror of the streams implementations in Node.js 18.19.0.
Full documentation may be found on the Node.js website.
If you want to guarantee a stable streams base, regardless of what version of Node you, or the users of your libraries are using, use readable-stream only and avoid the "stream" module in Node-core, for background see this blogpost.
As of version 2.0.0 readable-stream uses semantic versioning.
v4.x.x of readable-stream
is a cut from Node 18. This version supports Node 12, 14, 16 and 18, as well as evergreen browsers.
The breaking changes introduced by v4 are composed of the combined breaking changes in:
This also includes many new features.
v3.x.x of readable-stream
is a cut from Node 10. This version supports Node 6, 8, and 10, as well as evergreen browsers, IE 11 and latest Safari. The breaking changes introduced by v3 are composed by the combined breaking changes in Node v9 and Node v10, as follows:
v2.x.x of readable-stream
is a cut of the stream module from Node 8 (there have been no semver-major changes from Node 4 to 8). This version supports all Node.js versions from 0.8, as well as evergreen browsers and IE 10 & 11.
You can swap your require('stream')
with require('readable-stream')
without any changes, if you are just using one of the main classes and
functions.
1const { 2 Readable, 3 Writable, 4 Transform, 5 Duplex, 6 pipeline, 7 finished 8} = require('readable-stream')
Note that require('stream')
will return Stream
, while
require('readable-stream')
will return Readable
. We discourage using
whatever is exported directly, but rather use one of the properties as
shown in the example above.
You will need a bundler like browserify
, webpack
, parcel
or similar. Polyfills are no longer required since version 4.2.0.
readable-stream
is maintained by the Streams Working Group, which
oversees the development and maintenance of the Streams API within
Node.js. The responsibilities of the Streams Working Group include:
readable-stream
to be included in Node.js.No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
security policy file detected
Details
Reason
license file detected
Details
Reason
Found 17/30 approved changesets -- score normalized to 5
Reason
0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More