You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package is a mirror of the streams implementations in Node.js 18.0.0.
13
+
This package is a mirror of the streams implementations in Node.js.
15
14
16
-
Full documentation may be found on the [Node.js website](https://nodejs.org/dist/v18.0.0/docs/api/stream.html).
15
+
Full documentation may be found on the [Node.js website](https://nodejs.org/dist/v18.2.0/docs/api/stream.html).
17
16
18
17
If you want to guarantee a stable streams base, regardless of what version of
19
-
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](http://r.va.gg/2014/06/why-i-dont-use-nodes-core-stream-module.html).
18
+
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](http://r.va.gg/2014/06/why-i-dont-use-nodes-core-stream-module.html).
20
19
21
20
As of version 2.0.0 **readable-stream** uses semantic versioning.
22
21
22
+
## Version 4.x.x
23
+
24
+
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.
25
+
The breaking changes introduced by v4 are composed by the combined breaking changes in
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](https://nodejs.org/en/blog/release/v9.0.0/) and [Node v10](https://nodejs.org/en/blog/release/v10.0.0/), as follows:
@@ -46,7 +59,6 @@ v3.x.x of `readable-stream` is a cut from Node 10. This version supports Node 6,
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.
51
63
52
64
# Usage
@@ -56,60 +68,42 @@ without any changes, if you are just using one of the main classes and
Note that `require('stream')` will return`Stream`, while
63
82
`require('readable-stream')` will return`Readable`. We discourage using
64
83
whatever is exported directly, but rather use one of the properties as
65
84
shown in the example above.
66
85
67
-
## Usage In Browsers
68
-
69
-
You will need a bundler like [`browserify`](https://github.com/browserify/browserify#readme), [`webpack`](https://webpack.js.org/), [`parcel`](https://github.com/parcel-bundler/parcel#readme) or similar. With Webpack 5 (which unlike other bundlers does not polyfill Node.js core modules and globals like `process`) you will also need to:
70
-
71
-
1. Install polyfills by running `npm install buffer process --save-dev`
72
-
2. Create a [`webpack.config.js`](https://webpack.js.org/guides/getting-started/#using-a-configuration) file containing:
73
-
74
-
```js
75
-
constwebpack=require('webpack')
76
-
77
-
module.exports= {
78
-
plugins: [
79
-
newwebpack.ProvidePlugin({
80
-
process:'process/browser'
81
-
})
82
-
],
83
-
resolve: {
84
-
fallback: {
85
-
buffer:require.resolve('buffer/')
86
-
}
87
-
}
88
-
}
89
-
```
90
-
91
86
# Streams Working Group
92
87
93
88
`readable-stream` is maintained by the Streams Working Group, which
94
89
oversees the development and maintenance of the Streams API within
95
90
Node.js. The responsibilities of the Streams Working Group include:
96
91
97
-
- Addressing stream issues on the Node.js issue tracker.
98
-
- Authoring and editing stream documentation within the Node.js project.
99
-
- Reviewing changes to stream subclasses within the Node.js project.
100
-
- Redirecting changes to streams from the Node.js project to this
92
+
* Addressing stream issues on the Node.js issue tracker.
93
+
* Authoring and editing stream documentation within the Node.js project.
94
+
* Reviewing changes to stream subclasses within the Node.js project.
95
+
* Redirecting changes to streams from the Node.js project to this
101
96
project.
102
-
- Assisting in the implementation of stream providers within Node.js.
103
-
- Recommending versions of `readable-stream` to be included in Node.js.
104
-
- Messaging about the future of streams to give the community advance
97
+
* Assisting in the implementation of stream providers within Node.js.
98
+
* Recommending versions of`readable-stream` to be included inNode.js.
99
+
* Messaging about the future of streams to give the community advance
0 commit comments