creatorrr / web-streams-polyfill

Web Streams, based on the WHATWG spec

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

Web Streams, based on the WHATWG spec

License:MIT License


Languages

Language:JavaScript 100.0%