{"name":"fetch-ponyfill","version":"0.6.0","description":"A ponyfill (doesn't overwrite the native fetch) for the Fetch specification https://fetch.spec.whatwg.org.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Mark Stanley Everitt"},"repository":{"type":"git","url":"git://github.com/qubyte/fetch-ponyfill.git"},"license":"MIT","dependencies":{"brfs":"1.2.0"},"browserify":{"transform":["brfs"]},"gitHead":"3e707534769febaf3936310593c6cdd2f3ab072a","bugs":{"url":"https://github.com/qubyte/fetch-ponyfill/issues"},"homepage":"https://github.com/qubyte/fetch-ponyfill","_id":"fetch-ponyfill@0.6.0","_shasum":"8d8ca4bd120abc3e70f015a7b45a64a327fe7e90","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"qubyte","email":"mark.s.everitt@gmail.com"},"maintainers":[{"name":"qubyte","email":"mark.s.everitt@gmail.com"}],"dist":{"shasum":"8d8ca4bd120abc3e70f015a7b45a64a327fe7e90","tarball":"http://registry-npm.ywwl.com/fetch-ponyfill/download/fetch-ponyfill-0.6.0.tgz","integrity":"sha512-/WoQWvqSkjyA/cpp4vla2ikJpJ136JrADmzuYHVgTw0gIC86hC/ZEclcsvj59NhEwhwUSHMlaElwbSNQ23W3GQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDdgj51JzLhHd/Nni5AjNv8KN2a1I53uiT2Io9PGqgVCAiAwAIBzvKynjK6RIKvwWs6nfApnuoU6DqA+beEFoMDfKw=="}],"size":4349,"noattachment":false,"key":"/fetch-ponyfill/-/fetch-ponyfill-0.6.0.tgz"},"directories":{},"readme":"# Fetch Ponyfill\n\n> WHATWG `fetch` [ponyfill](https://ponyfill.com)\n\nThis module wraps the [github/fetch](https://github.com/github/fetch) polyfill in a CommonJS module\nfor browserification, and avoids appending anything to the window, instead returning a setup\nfunction when `fetch-ponyfill` is required. Inspired by\n[object-assign](https://github.com/sindresorhus/object-assign).\n\nWhen used in Node, delegates to `node-fetch` instead.\n\n## Usage\n\n### Browserify\n\n```javascript\nconst {fetch, Request, Response, Headers} = require('fetch-ponyfill')(options);\n```\n\n### Webpack\n\n```javascript\nimport fetchPonyfill from 'fetch-ponyfill';\nconst {fetch, Request, Response, Headers} = fetchPonyfill(options);\n```\n\n### Options\n\nWhere `options` is an object with the following optional properties:\n\n| option | description |\n| ------ | ----------- |\n| `Promise` | An A+ Promise implementation. Defaults to `window.Promise` in the browser, and `global.Promise` in Node. |\n| `XMLHttpRequest` | The XMLHttpRequest constructor. This is useful to feed in when working with Firefox OS. Defaults to `window.XMLHttpRequest`. Has no effect in Node. |\n","publish_time":1421264742472,"_cnpm_publish_time":1421264742472,"dist-tags":{"latest":"7.1.0"}}