{"name":"fetch-ponyfill","version":"0.7.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.4.0","whatwg-fetch":"0.7.0"},"browserify":{"transform":["brfs"]},"gitHead":"c5913a9cfd7a75a908b7338d247158043ed85e41","bugs":{"url":"https://github.com/qubyte/fetch-ponyfill/issues"},"homepage":"https://github.com/qubyte/fetch-ponyfill","_id":"fetch-ponyfill@0.7.0","_shasum":"8a62e31be0e5aa773dc950ba25e8ea8a9402fbfa","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"qubyte","email":"mark.s.everitt@gmail.com"},"maintainers":[{"name":"qubyte","email":"mark.s.everitt@gmail.com"}],"dist":{"shasum":"8a62e31be0e5aa773dc950ba25e8ea8a9402fbfa","tarball":"http://registry-npm.ywwl.com/fetch-ponyfill/download/fetch-ponyfill-0.7.0.tgz","integrity":"sha512-iBRNdfD55/aC4eKLHeqq7Wf9lTrDL5bQsXFQOb5Q4fcNdSrLTQJiBqDf0/ZbPgzqU+EvsTk7AQHcQZtnFKM2dg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTPThp3psIBSo/LXRfYZzy5OcdxoALdH3oY/siIwwlswIgSsN2X8li32Kw2tlMw3/6/+wL7ey81+DIFeu/U3dktOU="}],"size":2619,"noattachment":false,"key":"/fetch-ponyfill/-/fetch-ponyfill-0.7.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":1424653235874,"_cnpm_publish_time":1424653235874,"dist-tags":{"latest":"7.1.0"}}