{"name":"fetch-ponyfill","version":"0.9.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.9.0"},"browserify":{"transform":["brfs"]},"gitHead":"e435d6320ba9c2f9fafb72821475d3a7ddd20148","bugs":{"url":"https://github.com/qubyte/fetch-ponyfill/issues"},"homepage":"https://github.com/qubyte/fetch-ponyfill#readme","_id":"fetch-ponyfill@0.9.0","_shasum":"2297e76ed6f210232f9a72124453ef2e2bc59ad6","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"qubyte","email":"mark.s.everitt@gmail.com"},"maintainers":[{"name":"qubyte","email":"mark.s.everitt@gmail.com"}],"dist":{"shasum":"2297e76ed6f210232f9a72124453ef2e2bc59ad6","tarball":"http://registry-npm.ywwl.com/fetch-ponyfill/download/fetch-ponyfill-0.9.0.tgz","integrity":"sha512-TiC4ECrZwygrWFogicp4fsT6oQYuyYbt6XH7T9sy/i9VB02wQvFv9Wn0JHbXoR5rOUflxe8mPFV63TlZLU1wpw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7XlW4tfiKrxsPDbD1i9SLm1yf6w24oNGH1ibuQV4ZuQIhAJkNMlDKkgGn17+38Wwf8QM1p8b/L27NcILUofqH9TSB"}],"size":2128,"noattachment":false,"key":"/fetch-ponyfill/-/fetch-ponyfill-0.9.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":1434721489922,"_cnpm_publish_time":1434721489922,"dist-tags":{"latest":"7.1.0"}}