{"name":"fetch-ponyfill","version":"0.3.2","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":{"fetch":"git://github.com/github/fetch#v0.3.2"},"gitHead":"1082c48630daf34ba344e4602daf9aad00461dd8","bugs":{"url":"https://github.com/qubyte/fetch-ponyfill/issues"},"homepage":"https://github.com/qubyte/fetch-ponyfill","_id":"fetch-ponyfill@0.3.2","_shasum":"c96b7cbaf47193f28eedf6c2a0a976229c6f4fb7","_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":"c96b7cbaf47193f28eedf6c2a0a976229c6f4fb7","tarball":"http://registry-npm.ywwl.com/fetch-ponyfill/download/fetch-ponyfill-0.3.2.tgz","integrity":"sha512-zM1SXkJwh8NvnIgwNCPuDl/hnvi3rqKBPHTP+32Yqn2u70nYPT3bOSEjnJ3yDeHsAtChTV7CTdHleF72s/loBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFfh6kiU33dUAU2sPmj+JmcDWLcyB641fIsN9SbCfrvAIgXWjNJXahOETqkETS4VpxzRz1zBkGXmX4Cmp7wOGS5a4="}],"size":2463,"noattachment":false,"key":"/fetch-ponyfill/-/fetch-ponyfill-0.3.2.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":1419695714029,"_cnpm_publish_time":1419695714029,"dist-tags":{"latest":"7.1.0"}}