the stream module from node core, for browsers!
This module uses readable-stream
, with additions for compatibility with npm packages that use old Node.js stream APIs.
You usually do not have to install stream-browserify
yourself! If your code runs in Node.js, stream
is built in, or readable-stream
can be used. If your code runs in the browser, bundlers like browserify also include the stream-browserify
module.
But if none of those apply, with npm do:
npm install stream-browserify
Consult the node core documentation on streams.
Cross-browser testing generously provided by Sauce Labs.