UNPKG

1.17 kBMarkdownView Raw
1# stream-browserify
2
3the stream module from node core, for browsers!
4
5This module uses [`readable-stream`](https://github.com/nodejs/readable-stream), with additions for compatibility with npm packages that use old Node.js stream APIs.
6
7[![build status](https://secure.travis-ci.org/browserify/stream-browserify.svg?branch=master)](http://travis-ci.org/browserify/stream-browserify)
8
9## Install
10
11You 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](https://github.com/browserify/browserify) also include the `stream-browserify` module.
12
13But if none of those apply, with [npm](https://npmjs.org) do:
14
15```bash
16npm install stream-browserify
17```
18
19## API
20
21Consult the node core
22[documentation on streams](http://nodejs.org/docs/latest/api/stream.html).
23
24## Browser Support
25
26Cross-browser testing generously provided by [Sauce Labs](https://saucelabs.com).
27
28[![Sauce Test Status](https://saucelabs.com/browser-matrix/stream-browserify.svg)](https://saucelabs.com/u/stream-browserify)
29
30## License
31
32[MIT](./LICENSE)