{"name":"fetch-ponyfill","version":"1.0.0","description":"A ponyfill (doesn't overwrite the native fetch) for the Fetch specification https://fetch.spec.whatwg.org.","main":"fetch-node.js","browser":"build/fetch-browser.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf build && mkdirp build && node build.js > build/fetch-browser.js","prepublish":"npm run build"},"author":{"name":"Mark Stanley Everitt"},"repository":{"type":"git","url":"git://github.com/qubyte/fetch-ponyfill.git"},"license":"MIT","dependencies":{"node-fetch":"1.5.1"},"devDependencies":{"mkdirp":"0.5.1","rimraf":"2.5.2","whatwg-fetch":"1.0.0"},"files":["fetch-node.js","build/fetch-browser.js"],"gitHead":"66c2ce9c267027d52f0357f239064868159b67f0","bugs":{"url":"https://github.com/qubyte/fetch-ponyfill/issues"},"homepage":"https://github.com/qubyte/fetch-ponyfill#readme","_id":"fetch-ponyfill@1.0.0","_shasum":"1d157e9b0ec09ac3963dec1f30cdc83eb29991ae","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"qubyte","email":"mark.s.everitt@gmail.com"},"maintainers":[{"name":"qubyte","email":"mark.s.everitt@gmail.com"}],"dist":{"shasum":"1d157e9b0ec09ac3963dec1f30cdc83eb29991ae","tarball":"http://registry-npm.ywwl.com/fetch-ponyfill/download/fetch-ponyfill-1.0.0.tgz","integrity":"sha512-TOIce3zQ8KUwMqOyJBSHTWz3ec/bt6FIhLrgt6bygaVzIoj75GXIjb6/dd5QRD9CgR/88K8fXsJntqsczDGZEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdk3TxTCpDzo6yajWMF97BlBSg05+0LhRCYlolfDsNcAIgG3x+mneqKgacKI9m4YVmYkOn7E+CoFlnawtC74vRvFU="}],"size":5223,"noattachment":false,"key":"/fetch-ponyfill/-/fetch-ponyfill-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-ponyfill-1.0.0.tgz_1462219918112_0.034501928836107254"},"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":1462219920348,"_cnpm_publish_time":1462219920348,"dist-tags":{"latest":"7.1.0"}}