Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.12 KB

README.md

File metadata and controls

42 lines (26 loc) · 1.12 KB

web-streams-polyfill

Web Streams, based on the WHATWG spec reference implementation.


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: