{"name":"fetch-ponyfill","version":"6.1.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","types":"./index.d.ts","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 --mode development tests/fetch-browser.spec.js -o build/browser-test-bundle.js","test:webpack":"testem","build":"rimraf build && mkdirp build && node build.js > build/fetch-browser.js","prepublishOnly":"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.6.0"},"devDependencies":{"browserify":"~16.2.0","eslint-config-qubyte":"~2.0.0","eslint":"~5.16.0","mkdirp":"~0.5.1","mocha":"~6.1.0","nock":"~10.0.0","promise":"~8.0.1","rimraf":"~2.6.2","sinon":"~7.3.0","testem":"2.16.0","webpack":"~4.33.0","webpack-cli":"~3.3.0","whatwg-fetch":"~2.0.3"},"gitHead":"ea9b6e40919aead0a5a109024afba7191522b698","bugs":{"url":"https://github.com/qubyte/fetch-ponyfill/issues"},"homepage":"https://github.com/qubyte/fetch-ponyfill#readme","_id":"fetch-ponyfill@6.1.0","_nodeVersion":"12.1.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-bLc7JCjpJZZUXVxbgwUhd72Q19MAokrCXOg/Akq+wl0uFLFLklFdBkZo5OpQ3kLI0oGqrKdx6t5Zo3QwXBRmbQ==","shasum":"d56cd1e6fc4e50aff8cd4b7701dc42a0cc26f476","tarball":"http://registry-npm.ywwl.com/fetch-ponyfill/download/fetch-ponyfill-6.1.0.tgz","fileCount":7,"unpackedSize":22960,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9uBfCRA9TVsSAnZWagAAb4IP/0Ia0JrvX2l5FGmmpOmU\nwAnHsSx9ihiew5SWPEse/MXe5ugwREXLZydWy67bsU0C+2eiz7f3wr0ChY2d\nAX3XFsOF64W6MZBijv1lWOTXkgVb+ufkmOItOY+FNMeFdXxHsYLMTZZyB8Gm\nwf7H6Xj3Ke9pc25mASTsrG7LQMWcJXWUg7x/dTwrHCzPxU7MveSJoGoj2dds\ngZ+OIczLbyN4tp6So7mqPxqIpGvP1KbK39TtphGiorbQKs6+Ebbrah0fikMt\nDxVxEVAUJKvRtvrDCIh0/y8fPk0n+lIJQx/VnKmgxwLaOQa9x5afv+a09zoD\nRcPyLC0dI2WFMS08sau+f9nRzL93HjuRGromM5HVGhOqoiOBTLM/Js0NB9c9\nQoNMl3OKVdQTRBPL5bBjjSGnescI4HmvMXioEaKMLrHZ6LHj8vDafiCyqxzP\ncuKFKsjNmwZ9pAoFxf4gyy3Y8/1hzjHLyY6nm9d3fFBrO6kJ5DA4WWFuzuCo\n9O1hfo6eaXYveD4SyfIVBKvLBrWBAHAXWAXu82qZBXZhSfpCAyGM6rLxbmwB\nXMQ6WPERj5eMGEPBYS3FW006RI2pphEH5BK1g/hq0GUsLV7uqbCfKoohg4JM\n2I12Ah6TXMn9WAchXADXQNtQBUSd/PZ7AgAfXPTkI1UmtrbkGkurNrBvWbnv\ngW7M\r\n=/ySC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC++fEAK5jOO5IlY1CzKbnr2A8OdvKCHVZilF2CMzX/0wIhAOklzBdC8BsSSle/yjgXfHPOKgUC2C6hNBWAzmm6J3nt"}],"size":6824,"noattachment":false,"key":"/fetch-ponyfill/-/fetch-ponyfill-6.1.0.tgz"},"maintainers":[{"name":"qubyte","email":"mark.s.everitt@gmail.com"}],"_npmUser":{"name":"qubyte","email":"mark.s.everitt@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-ponyfill_6.1.0_1559683166742_0.08726556098159621"},"_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":1559683166828,"_cnpm_publish_time":1559683166828,"dist-tags":{"latest":"7.1.0"}}