{"name":"fetch-ponyfill","version":"6.1.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","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 ci","pretest:webpack":"npm run build && webpack --mode development tests/fetch-browser.spec.js -o build/browser-test-bundle.js","test:webpack":"testem ci","pretest:webpack:node":"webpack --mode development --target node tests/fetch-node.spec.js -o build/node-test-bundle.js","test:webpack:node":"mocha build/node-test-bundle.js","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.5.1","eslint":"~6.8.0","eslint-config-qubyte":"~3.0.0","mkdirp":"^1.0.4","mocha":"^7.1.1","nock":"^12.0.3","promise":"~8.1.0","rimraf":"^3.0.2","sinon":"^9.0.1","testem":"3.1.0","webpack":"^4.42.1","webpack-cli":"^3.3.11","whatwg-fetch":"~2.0.3"},"gitHead":"72913ab7d0d991025bbd9b008cb0abea3718fdd5","bugs":{"url":"https://github.com/qubyte/fetch-ponyfill/issues"},"homepage":"https://github.com/qubyte/fetch-ponyfill#readme","_id":"fetch-ponyfill@6.1.1","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-rWLgTr5A44/XhvCQPYj0X9Tc+cjUaHofSM4lcwjc9MavD5lkjIhJ+h8JQlavPlTIgDpwhuRozaIykBvX9ItaSA==","shasum":"dd8cdff0741a98bc89aeb85820302beb9bcc0bf4","tarball":"http://registry-npm.ywwl.com/fetch-ponyfill/download/fetch-ponyfill-6.1.1.tgz","fileCount":7,"unpackedSize":23257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe03MLCRA9TVsSAnZWagAAF1oP/jKdiAtaeSyaoiHAUIVk\nRwYWugzxweZGl+Yg6pc+G24OeoCIT5KV0dMqmjPm9m4/J2aipU1I7LhL1f4k\n4ClzpvQnQqrSvPJ4sclmhpbalMnl5PVsAWWFitlD1TTn3YQpI9YFB60/YGQ5\nfUBPwuVXqsrhCVt0uQJ2FQQ4b3l4gwwe+BDn0YygrRexawwoqjiaLaJoKwzi\nUIeGBpCSE64XERm6LCGmaOqRceQ/XJ+3XFcgNV0yRLkukw2xFJPL2w4UvWrT\nOiReRqfLQxxIli7fqVNHBSDPuwljCWbwgcn5hrJogobOinEsc2LZA2UTYXRx\n0+qLJPfspe0csEicJwCqYDlbgap+wiPmFdHwfmHdMzblLdR6MsrJfkSKod62\n0CsqmG80tOxKofgZiH9QlUVN3P7R5Ljt/3XFMYJU2ypw2+hD/nJTYO8ZNulz\njr4/C0DZg74GbASmjq2ai7pHWzz0tniNa+4ZMC7MYACdMUktGyCpDsuhMRsz\nLeO5OBjKDkheSpO5pmfSMW/pq2qeowBgjh23d+iUo9vWZ/qMsEmrUyYTJto2\nfuDyuMf+cw5TQgWw+03w+6gcGSQXOCWW0YbeefQEwMxQXFtVCd//ZUAhXrkP\nXmU/PpbRslQuqJg9BIdo2hs/6pGXfUWfr22qTju1ouYILdf7+OA9VEv3mIEp\na1zf\r\n=fEGn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmbUU4LI67AmdIcg4ilfyzK4bEej80dSBkwx3l7yzvtQIhALd9s9Ezr2gi389KfM1PUYx+UP0dZ5Y9mJ7W0GDzP157"}],"size":6914,"noattachment":false,"key":"/fetch-ponyfill/-/fetch-ponyfill-6.1.1.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.1_1590915850885_0.27906395964792075"},"_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":1590915850998,"_cnpm_publish_time":1590915850998,"dist-tags":{"latest":"7.1.0"}}