GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - nodejs/readable-stream: Node-core streams for userland

BranchesTags
Open more actions menu

Latest commit

 

History

479 Commits
479 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
build
build
 
 
eslint-plugin-local
eslint-plugin-local
 
 
examples
examples
 
 
lib
lib
 
 
readable-stream-test
readable-stream-test
 
 
src
src
 
 
test
test
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
GOVERNANCE.md
GOVERNANCE.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
babel.config.cjs
babel.config.cjs
 
 
c8.json
c8.json
 
 
eslint.config.mjs
eslint.config.mjs
 
 
package.json
package.json
 
 
prettier.config.cjs
prettier.config.cjs
 
 
tap.yml
tap.yml
 
 

Repository files navigation

readable-stream

Node.js core streams for userland

npm status node Node.js Build Browsers Build

npm 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.

Version 4.x.x

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:

  • Node v12
  • Node v13
  • Node v14
  • Node v15
  • Node v16
  • Node v17
  • Node v18

This also includes many new features.

Version 3.x.x

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:

  1. Error codes: nodejs/node#13310, nodejs/node#13291, nodejs/node#16589, nodejs/node#15042, nodejs/node#15665, #344
  2. 'readable' have precedence over flowing nodejs/node#18994
  3. make virtual methods errors consistent nodejs/node#18813
  4. updated streams error handling nodejs/node#18438
  5. writable.end should return this. nodejs/node#18780
  6. readable continues to read when push('') nodejs/node#18211
  7. add custom inspect to BufferList nodejs/node#17907
  8. always defer 'readable' with nextTick nodejs/node#17979

Version 2.x.x

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.

Usage

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.

const {
  Readable,
  Writable,
  Transform,
  Duplex,
  pipeline,
  finished
} = 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.

Usage In Browsers

You will need a bundler like browserify, webpack, parcel or similar. Polyfills are no longer required since version 4.2.0.

Streams Working Group

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:

  • Addressing stream issues on the Node.js issue tracker.
  • Authoring and editing stream documentation within the Node.js project.
  • Reviewing changes to stream subclasses within the Node.js project.
  • Redirecting changes to streams from the Node.js project to this project.
  • Assisting in the implementation of stream providers within Node.js.
  • Recommending versions of readable-stream to be included in Node.js.
  • Messaging about the future of streams to give the community advance notice of changes.

Team Members

  • Mathias Buus (@mafintosh) <[email protected]>
  • Matteo Collina (@mcollina) <[email protected]>
    • Release GPG key: 3ABC01543F22DD2239285CDD818674489FBC127E
  • Robert Nagy (@ronag) <[email protected]>
  • Vincent Weevers (@vweevers) <[email protected]>

About

Node-core streams for userland

nodejs.org/api/stream.html

Topics

nodenodejs

Resources

Readme
License

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

1.0k stars

Watchers

56 watching

Forks

243 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.