Skip to content
Branch: master
Clone or download
Latest commit c658bf4 Oct 18, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist Fix TransformStream export Dec 14, 2016
spec @ 551489c Revert to fixed submodule style Dec 14, 2016
.babelrc Added transpile scripts Mar 2, 2016
.gitignore Initial commit Mar 1, 2016
.gitmodules
CONTRIBUTING.md Added CONTRIBUTING.md Mar 2, 2016
LICENSE Initial commit Mar 1, 2016
README.md Update README.md Oct 18, 2018
index.es6.js Fix TransformStream export Dec 14, 2016
index.js Entry point for node Mar 2, 2016
npm-shrinkwrap.json 1.3.2 Dec 14, 2016
package.json
run-web-platform-tests-on-bundle.js Test bundled, minified code. Jul 30, 2016
yarn.lock Added derequire; Closes #2 Dec 14, 2016

README.md

web-streams-polyfill

Web Streams, based on the WHATWG spec reference implementation.

[DEPRECATED] Use https://github.com/MattiasBuelens/web-streams-polyfill


Join the chat at https://gitter.im/web-streams-polyfill/Lobby

Links

Usage

For node.js / browserify users:

var streams = require("web-streams-polyfill");
var readable = new streams.ReadableStream;

// Or, in ES6

import { ReadableStream } from "web-streams-polyfill";

For use as polyfill, include the dist/polyfill.min.js file in your html before your main script.

<script src="/path/to/polyfill.min.js"></script>
<script type="text/javascript">

  var readable = new window.ReadableStream;

</script>

Contributors

Thanks to these people for their contributions:

You can’t perform that action at this time.