Skip to content

Web Streams, based on the WHATWG spec reference implementation

License

Notifications You must be signed in to change notification settings

ariutta/web-streams-polyfill

 
 

Repository files navigation

web-streams-polyfill

Web Streams, based on the WHATWG spec reference implementation.

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>

About

Web Streams, based on the WHATWG spec reference implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%