pdf.js/external/streams/README.md
Mukul Mishra c9f44f30e5 Adds streams-lib polyfill and exports ReadableStream from shared/util.
Added test for ReadableStream.

Adds ref-implementation license-header in streams-lib
and change gulp task to copy external/streams/ in build/
external/streams/ and build/dist/external/streams folder.

Adds README.md and LICENSE.md
2017-05-20 00:26:34 +05:30

9 lines
388 B
Markdown

# Streams API polyfill for PDF.js
This folder contains streams-lib.js file that works as a polyfill for `Streams API
in PDF.js` project.
## Steps to create streams-lib.js file
- Fork [Streams API](https://github.com/whatwg/streams/tree/master/reference-implementation) reference implementation.
- Bundle and port to es5 ref-implementation files using webpack to create commonjs module.