readable-stream
Streams3, a user-land copy of the stream library from Node.js
Last updated 15 days ago by matteo.collina .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install readable-stream 
SYNC missed versions from official npm registry.

readable-stream

Node.js core streams for userland Build Status

NPM NPM

Sauce Test Status

npm install --save readable-stream

This package is a mirror of the streams implementations in Node.js.

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 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: https://github.com/nodejs/node/pull/13310, https://github.com/nodejs/node/pull/13291, https://github.com/nodejs/node/pull/16589, https://github.com/nodejs/node/pull/15042, https://github.com/nodejs/node/pull/15665, https://github.com/nodejs/readable-stream/pull/344
  2. 'readable' have precedence over flowing https://github.com/nodejs/node/pull/18994
  3. make virtual methods errors consistent https://github.com/nodejs/node/pull/18813
  4. updated streams error handling https://github.com/nodejs/node/pull/18438
  5. writable.end should return this. https://github.com/nodejs/node/pull/18780
  6. readable continues to read when push('') https://github.com/nodejs/node/pull/18211
  7. add custom inspect to BufferList https://github.com/nodejs/node/pull/17907
  8. always defer 'readable' with nextTick https://github.com/nodejs/node/pull/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.

Big Thanks

Cross-browser Testing Platform and Open Source <3 Provided by Sauce Labs

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.

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

Current Tags

  • 1.1.13                                ...           1.1 (6 years ago)
  • 1.1.14                                ...           backport-1.1.x (4 years ago)
  • 3.6.0                                ...           latest (15 days ago)
  • 2.3.7                                ...           legacy-2 (2 months ago)
  • 3.0.0-rc.3                                ...           next (2 years ago)
  • 1.0.34                                ...           streams2 (4 years ago)

90 Versions

  • 3.6.0                                ...           15 days ago
  • 3.5.0                                ...           a month ago
  • 2.3.7                                ...           2 months ago
  • 3.4.0                                ...           9 months ago
  • 3.3.0                                ...           a year ago
  • 3.2.0                                ...           a year ago
  • 3.1.1                                ...           a year ago
  • 3.1.0                                ...           a year ago
  • 3.0.6                                ...           a year ago
  • 3.0.5                                ...           a year ago
  • 3.0.4                                ...           a year ago
  • 3.0.3                                ...           a year ago
  • 3.0.2                                ...           2 years ago
  • 3.0.1                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 3.0.0-rc.3                                ...           2 years ago
  • 3.0.0-rc.2                                ...           2 years ago
  • 3.0.0-rc.1                                ...           2 years ago
  • 2.3.6                                ...           2 years ago
  • 2.3.5                                ...           2 years ago
  • 2.3.4                                ...           2 years ago
  • 2.3.3                                ...           3 years ago
  • 2.3.2                                ...           3 years ago
  • 2.3.1                                ...           3 years ago
  • 2.3.0                                ...           3 years ago
  • 2.2.11                                ...           3 years ago
  • 2.2.10                                ...           3 years ago
  • 2.2.9                                ...           3 years ago
  • 2.2.8                                ...           3 years ago
  • 2.2.7                                ...           3 years ago
  • 2.2.6                                ...           3 years ago
  • 2.2.5                                ...           3 years ago
  • 2.2.4                                ...           3 years ago
  • 2.2.3                                ...           3 years ago
  • 2.2.2                                ...           3 years ago
  • 2.2.1                                ...           3 years ago
  • 2.2.0                                ...           3 years ago
  • 2.1.5                                ...           4 years ago
  • 2.1.4                                ...           4 years ago
  • 2.1.3                                ...           4 years ago
  • 2.1.2                                ...           4 years ago
  • 2.1.1                                ...           4 years ago
  • 2.1.0                                ...           4 years ago
  • 1.1.14                                ...           4 years ago
  • 1.0.34                                ...           4 years ago
  • 2.0.6                                ...           4 years ago
  • 2.0.5                                ...           4 years ago
  • 2.0.4                                ...           4 years ago
  • 2.0.3                                ...           4 years ago
  • 2.0.2                                ...           5 years ago
  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 1.0.33                                ...           5 years ago
  • 1.0.33-2                                ...           5 years ago
  • 1.0.33-1                                ...           5 years ago
  • 1.0.32-1                                ...           5 years ago
  • 1.0.32                                ...           5 years ago
  • 1.1.13                                ...           6 years ago
  • 1.0.31                                ...           6 years ago
  • 1.1.13-1                                ...           6 years ago
  • 1.0.27-1                                ...           6 years ago
  • 1.1.12-1                                ...           6 years ago
  • 1.0.26-4                                ...           6 years ago
  • 1.0.26-3                                ...           6 years ago
  • 1.1.12                                ...           6 years ago
  • 1.0.26-2                                ...           6 years ago
  • 1.1.11-1                                ...           6 years ago
  • 1.0.26-1                                ...           6 years ago
  • 1.0.26                                ...           6 years ago
  • 1.1.11                                ...           6 years ago
  • 1.0.25-1                                ...           6 years ago
  • 1.0.25                                ...           6 years ago
  • 1.1.10                                ...           6 years ago
  • 1.0.24                                ...           6 years ago
  • 1.1.9                                ...           6 years ago
  • 1.1.8                                ...           7 years ago
  • 1.1.7                                ...           7 years ago
  • 1.0.17                                ...           7 years ago
  • 1.0.15                                ...           7 years ago
  • 1.0.2                                ...           7 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
  • 0.3.1                                ...           7 years ago
  • 0.3.0                                ...           7 years ago
  • 0.2.0                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
  • 0.0.4                                ...           7 years ago
  • 0.0.3                                ...           7 years ago
  • 0.0.2                                ...           7 years ago
  • 0.0.1                                ...           8 years ago
Downloads
Today 20,661
This Week 691,058
This Month 2,920,823
Last Day 125,041
Last Week 772,960
Last Month 2,322,578
Dependencies (3)
Dev Dependencies (20)
Dependents (2526)

Copyright 2014 - 2017 © taobao.org |