{"name":"fetch-ponyfill","version":"5.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","config":{"web_port":"8088"},"scripts":{"test":"mocha tests/fetch-node.spec.js","lint":"eslint .","pretest:browserify":"npm run build && browserify tests/fetch-browser.spec.js --outfile build/browser-test-bundle.js","test:browserify":"testem","pretest:webpack":"npm run build && webpack tests/fetch-browser.spec.js build/browser-test-bundle.js","test:webpack":"testem","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","keywords":["fetch","ponyfill"],"dependencies":{"node-fetch":"~2.0.0"},"devDependencies":{"browserify":"~15.2.0","eslint":"~4.17.0","eslint-config-qubyte":"~1.1.0","mkdirp":"~0.5.1","mocha":"~5.0.0","nock":"~9.1.0","promise":"~8.0.1","rimraf":"~2.6.2","sinon":"~4.2.2","testem":"2.0.0","webpack":"~3.10.0","whatwg-fetch":"~2.0.3"},"files":["fetch-node.js","build/fetch-browser.js"],"gitHead":"64d7929bf3067935c2f0d7256438751a4237812a","bugs":{"url":"https://github.com/qubyte/fetch-ponyfill/issues"},"homepage":"https://github.com/qubyte/fetch-ponyfill#readme","_id":"fetch-ponyfill@5.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"qubyte","email":"mark.s.everitt@gmail.com"},"dist":{"integrity":"sha512-5IOTWXnupciMppTlY0W6Dmil6kjrPIAJx5C/MvFRIG6E8xeeCBuzKD0IsEt4XAQ6/WVVeUV0KhwesZyCtbpsGw==","shasum":"e3866f9d7eb8334dd7e046654f683f3567829de0","tarball":"http://registry-npm.ywwl.com/fetch-ponyfill/download/fetch-ponyfill-5.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB7EySkwfNCRfE8ehMRmg58DJ0ni1hUOG4zarON5gaekAiBqBNQUd/ZN0PBpyrmlhnucbdEoX2V/9X2EeDEHalH7Ig=="}],"size":6338,"noattachment":false,"key":"/fetch-ponyfill/-/fetch-ponyfill-5.0.0.tgz"},"maintainers":[{"name":"qubyte","email":"mark.s.everitt@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-ponyfill-5.0.0.tgz_1517747186643_0.20705377985723317"},"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":1517747187532,"_cnpm_publish_time":1517747187532,"dist-tags":{"latest":"7.1.0"}}