{"name":"@mattiasbuelens/web-streams-polyfill","version":"0.1.0","description":"Web Streams, based on the WHATWG spec reference implementation","main":"dist/polyfill","browser":"dist/polyfill.min.js","module":"dist/polyfill.mjs","types":"types/polyfill.d.ts","scripts":{"pretest":"cd spec/reference-implementation && npm install && cpx ../../run-web-platform-tests-on-bundle.js ./","test":"cd spec/reference-implementation && node --expose_gc run-web-platform-tests-on-bundle.js","posttest":"rimraf spec/reference-implementation/run-web-platform-tests-on-bundle.js","lint":"eslint \"src/**/*.js\"","build":"rollup -c","prebuild":"git submodule update --init --recursive","prepare":"npm run build"},"files":["dist","types","ponyfill"],"engines":{"node":">= 4"},"repository":{"type":"git","url":"git+https://github.com/MattiasBuelens/web-streams-polyfill.git"},"keywords":["streams","whatwg","polyfill"],"author":{"name":"Diwank Singh","email":"diwank.singh@gmail.com"},"contributors":[{"name":"Mattias Buelens","email":"mattias@buelens.com"}],"license":"MIT","bugs":{"url":"https://github.com/MattiasBuelens/web-streams-polyfill/issues"},"homepage":"https://github.com/MattiasBuelens/web-streams-polyfill#readme","dependencies":{"@types/whatwg-streams":"^0.0.6"},"devDependencies":{"@babel/core":"^7.0.0-beta.47","@babel/plugin-transform-object-assign":"^7.0.0-beta.47","@babel/plugin-transform-runtime":"^7.0.0-beta.47","@babel/preset-env":"^7.0.0-beta.47","cpx":"^1.5.0","eslint":"^4.19.1","rimraf":"^2.6.2","rollup":"^0.58.1","rollup-plugin-alias":"^1.4.0","rollup-plugin-babel":"^4.0.0-beta.4","rollup-plugin-commonjs":"^9.1.0","rollup-plugin-inject":"^2.0.0","rollup-plugin-strip":"^1.1.1","rollup-plugin-uglify":"^3.0.0","typescript":"^2.8.3"},"gitHead":"b7884e4a7ee520ec26b02b50b37cf328d8aa5bac","_id":"@mattiasbuelens/web-streams-polyfill@0.1.0","_npmVersion":"6.3.0","_nodeVersion":"8.9.3","_npmUser":{"name":"mattiasbuelens","email":"mattias.buelens@gmail.com"},"dist":{"integrity":"sha512-oMsvblvOezdM/j1ph0uU8s6Wm0EfCyMZtZcxQ232CqSpjm08lrKPizeMltN0eVv4dQf0DDFaxUFyiz8x51lgAA==","shasum":"c06ebfa7e00cc512a878c3aaae4cf113ac89ac24","tarball":"http://registry-npm.ywwl.com/@mattiasbuelens/web-streams-polyfill/download/@mattiasbuelens/web-streams-polyfill-0.1.0.tgz","fileCount":22,"unpackedSize":2430272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdEG+CRA9TVsSAnZWagAAcmoP/1S0v5Me4Eyne4R8GBva\nkpeDZGmULmjdGLn0r+Ase3MqWitWa22NFQB0QVfmdUz0rJEXW+1+rBQPgpYF\ni8+1EkwZaeiTLyO1pbfx0nIWzpoicJCrJclIWZNQHoaSQ18rAda+ueVUE3CW\nvDRic2sYAjcGkg4WpN6sqRZdyRgy4F5crUuszqr76vyN3EbUcnCvPYo9ogUz\n413OvntmKUkA444GyALUXM1g8JE1EeUSkZVAq0pI7Ru7VjZyQqH/hp8TVFYY\n/m8Z+Pch40MISGdIwHS/fsOI5Uhs/vblJ3Us8CVfXLmtmPkfdo+kBESWL/z1\ncFglNXfUil4CDXdJ15Z5OjlDuLwKwgNkKXjIfzjfAFBQ9yOkOEB4ffj8rCAW\nTOqOqL1cO592B16ZNgw7t51w0ihaR85Thhkw/zAOxbl1i+zi1POS9hXvmEDO\nE0+3WwEMd3a02nqqU9HZR1mfUZUxhsZL0P85gEuGeNeVLVgiQqMaWyBsunuG\nkUw4RZ+Q9wo6kgdkw96aYojPEhVMpCldDO34spEFmb5gypmS7ABy88f4J+gC\n0YIItH0hNIJTmtRCmYKLdz2DIJ9xAxuc/A3DIz9w0XiX7/tv2huy4EHbcIQO\nFQW87q1Y6YwJKEvkrmC+Isk7pLZLHhtxfe4Uv2QBKzdsONJdep30bEe+rHKe\nH3OO\r\n=zeHC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEpczLGDRhqVtPkV8AF9UJFQE+1kNh/RLmsNy95m1XaEAiBPJZKPB8WbUSqsl1ClIF6eX4I1zrqlIbCCava71PMu8g=="}],"size":458288,"noattachment":false,"key":"/@mattiasbuelens/web-streams-polyfill/-/@mattiasbuelens/web-streams-polyfill-0.1.0.tgz"},"maintainers":[{"name":"mattiasbuelens","email":"mattias.buelens@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-streams-polyfill_0.1.0_1534345662799_0.9782841173776831"},"_hasShrinkwrap":false,"deprecated":"moved to web-streams-polyfill@2.0.0","readme":"# web-streams-polyfill\n\nWeb Streams, based on the WHATWG spec reference implementation.  \n\n[![build status](https://api.travis-ci.com/MattiasBuelens/web-streams-polyfill.svg?branch=master)](https://travis-ci.com/MattiasBuelens/web-streams-polyfill)\n[![npm version](https://img.shields.io/npm/v/@mattiasbuelens/web-streams-polyfill.svg)](https://www.npmjs.com/package/@mattiasbuelens/web-streams-polyfill)\n[![license](https://img.shields.io/npm/l/@mattiasbuelens/web-streams-polyfill.svg)](https://github.com/MattiasBuelens/web-streams-polyfill/blob/master/LICENSE)\n[![Join the chat at https://gitter.im/web-streams-polyfill/Lobby](https://badges.gitter.im/web-streams-polyfill/Lobby.svg)](https://gitter.im/web-streams-polyfill/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n\n## Links\n\n - [Official spec][spec]\n - [Reference implementation][ref-impl]\n\n## Usage\n\nThis library comes in multiple variants:\n* `@mattiasbuelens/web-streams-polyfill`: a polyfill that replaces the native stream implementations.\n  Recommended for use in web apps supporting older browsers through a `<script>` tag.\n* `@mattiasbuelens/web-streams-polyfill/es6`: a polyfill targeting ES2015+ environments.\n  Recommended for use in web apps supporting modern browsers through a `<script>` tag.\n* `@mattiasbuelens/web-streams-polyfill/es2018`: a polyfill targeting ES2018+ environments.\n  Required for [`ReadableStream` async iterable support][rs-asynciterator].\n* `@mattiasbuelens/web-streams-polyfill/ponyfill`: a [ponyfill] that provides\n  the stream implementations without replacing any globals.\n  Recommended for use in legacy Node applications, or in web libraries supporting older browsers.\n* `@mattiasbuelens/web-streams-polyfill/ponyfill/es6`: a ponyfill targeting ES2015+ environments.\n  Recommended for use in Node 6+ applications, or in web libraries supporting modern browsers.\n* `@mattiasbuelens/web-streams-polyfill/ponyfill/es2018`: a ponyfill targeting ES2018+ environments.\n  Recommended for use in Node 10+ applications.\n\nEach variant also includes TypeScript type definitions, compatible with the DOM type definitions for streams included in TypeScript.\n\nUsage as a polyfill:\n```html\n<!-- option 1: hosted by unpkg CDN -->\n<script src=\"https://unpkg.com/@mattiasbuelens/web-streams-polyfill/dist/polyfill.min.js\"></script>\n<!-- option 2: self hosted -->\n<script src=\"/path/to/web-streams-polyfill/dist/polyfill.min.js\"></script>\n<script>\nvar readable = new ReadableStream();\n</script>\n```\nUsage as a Node module:\n```js\nvar streams = require(\"@mattiasbuelens/web-streams-polyfill/ponyfill\");\nvar readable = new streams.ReadableStream();\n```\nUsage as a ES2015 module:\n```js\nimport { ReadableStream } from \"@mattiasbuelens/web-streams-polyfill/ponyfill\";\nconst readable = new ReadableStream();\n```\n\n### Compatibility\n\nThe `polyfill` and `ponyfill` variants work in any ES5-compatible environment that has a global `Promise`.\nIf you need to support older browsers or Node versions that do not have a native `Promise` implementation\n(check the [support table][promise-support]), you must first include a `Promise` polyfill\n(e.g. [promise-polyfill][promise-polyfill]).\n\nThe `polyfill/es6` and `ponyfill/es6` variants work in any ES2015-compatible environment.\n\nThe `polyfill/es2018` and `ponyfill/es2018` variants work in any ES2018-compatible environment.\n\n### Compliance\n\nThe polyfill implements [version `2c8f35e` (21 Feb 2019)](https://streams.spec.whatwg.org/commit-snapshots/2c8f35ed23451ffc9b32ec37b56def4a5349abb1/) of the streams specification.\n\nThe type definitions are compatible with the built-in stream types of TypeScript 3.3.\n\n### Contributors\n\nThanks to these people for their work on [the original polyfill][creatorrr-polyfill]:\n\n - Diwank Singh Tomer ([creatorrr](https://github.com/creatorrr))\n - Anders Riutta ([ariutta](https://github.com/ariutta))\n\n[spec]: https://streams.spec.whatwg.org\n[ref-impl]: https://github.com/whatwg/streams\n[ponyfill]: https://github.com/sindresorhus/ponyfill\n[rs-asynciterator]: https://streams.spec.whatwg.org/#rs-asynciterator\n[promise-support]: https://kangax.github.io/compat-table/es6/#test-Promise\n[promise-polyfill]: https://www.npmjs.com/package/promise-polyfill\n[creatorrr-polyfill]: https://github.com/creatorrr/web-streams-polyfill\n","publish_time":1534345662912,"_cnpm_publish_time":1534345662912,"dist-tags":{"latest":"0.3.2"}}