{"name":"fetch-ponyfill","version":"5.0.1","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":"~16.1.0","eslint":"~4.18.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.3.0","testem":"2.0.0","webpack":"~3.11.0","whatwg-fetch":"~2.0.3"},"files":["fetch-node.js","build/fetch-browser.js","index.d.ts"],"gitHead":"3ed5da4a8e042a1a9d47162c40c64e07d45ab192","bugs":{"url":"https://github.com/qubyte/fetch-ponyfill/issues"},"homepage":"https://github.com/qubyte/fetch-ponyfill#readme","_id":"fetch-ponyfill@5.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"qubyte","email":"mark.s.everitt@gmail.com"},"dist":{"integrity":"sha512-jxQzO4CAoM3ojdsWF74PwSDosaBnUmTqF0JGTn48sLNLpQzPT62HFCk3kaWrie+OnGhKqNjcvh8GL3FxXwkBaw==","shasum":"2789ec179c1de357f60f9fd49e154a8b3fd8cd1b","tarball":"http://registry-npm.ywwl.com/fetch-ponyfill/download/fetch-ponyfill-5.0.1.tgz","fileCount":7,"unpackedSize":22230,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAe9lFokULHd8p4ra/H6aIIfKcZ4LLTnvWuCDtnsp6DrAiEAqWgQiiI4R8WHpCy+A1cddrSrq5CaTsaT4sweg1GxkrY="}],"size":6605,"noattachment":false,"key":"/fetch-ponyfill/-/fetch-ponyfill-5.0.1.tgz"},"maintainers":[{"name":"qubyte","email":"mark.s.everitt@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-ponyfill_5.0.1_1518955403806_0.619268352586446"},"_hasShrinkwrap":false,"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":1518955403872,"_cnpm_publish_time":1518955403872,"dist-tags":{"latest":"7.1.0"}}