c9f44f30e5
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
9 lines
388 B
Markdown
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. |