{"name":"fetch-ponyfill","version":"6.0.2","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 --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.1.0"},"devDependencies":{"browserify":"~16.2.0","eslint-config-qubyte":"~2.0.0","eslint":"~4.19.0","mkdirp":"~0.5.1","mocha":"~5.1.0","nock":"~9.2.0","promise":"~8.0.1","rimraf":"~2.6.2","sinon":"~5.0.0","testem":"2.3.0","webpack":"~4.6.0","webpack-cli":"~2.0.9","whatwg-fetch":"~2.0.3"},"files":["fetch-node.js","build/fetch-browser.js","index.d.ts"],"gitHead":"12480b55a429fa2b2344622174f0ed5dfa025a87","bugs":{"url":"https://github.com/qubyte/fetch-ponyfill/issues"},"homepage":"https://github.com/qubyte/fetch-ponyfill#readme","_id":"fetch-ponyfill@6.0.2","_npmVersion":"6.0.0","_nodeVersion":"9.11.1","_npmUser":{"name":"qubyte","email":"mark.s.everitt@gmail.com"},"dist":{"integrity":"sha512-hBWVb6Z0chjr9r0g4N5uknldAnyFstWTnX6oFxMsL9ZlSL7fa66Keis3y4SCMgpTggY4GeGbB4z3z5g5SmrgkQ==","shasum":"bc2d92afd0140e39518beccd2fd0682ab4491cb6","tarball":"http://registry-npm.ywwl.com/fetch-ponyfill/download/fetch-ponyfill-6.0.2.tgz","fileCount":7,"unpackedSize":22460,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4Lv9CRA9TVsSAnZWagAAKJQP/1GX7xpfSk5VdC9umq4L\nFTd+EuIQLSBI2rBqL3V6RTnSi9+yBH1Dd2SCX41Mi6x+dDnGEUmcAmsHYpDM\nWHjMTQWzABf83fNhn4j3q0Q1xQsBsIB/h20YfnE6E2+io4trA2qY1xRtwZxy\nsrrvmrwV5WP4HUoGLN08tFI+Quy4UcfyBEiNm0hGl3idhVWTaXkykKGCTqpA\n0Anf8HPe6KdxLjBmww/4EIifw91zrDrKcbQiV5p47Jn0jPy4JeV70wyGUHXw\nVaTDb+Ma5YFJcgVvY5wf3hkKti5gckCq8aS8TANU/U4iv+Ldim+i1mg8RoDJ\nYlmqX6hQhqA7XR7U6fAPGkvuhiYxem1ezyvqKmzFzLgzqxvRe2id3UKK5Chb\nMLeCodU52G+1juFNwZg0YlMor4VYA0T/cNv8I3W9wS6SER+g+wF0omSah26R\nEWjWVGve3MbjSjMVaTPYRtOxiWcZH6aiZ6y2qPd9PntQmMuEBanHGak1W2LB\n5T1/90c+xASzNRbQQmjwI6t7udIBdcyanOBLdJjr3ASCi4cMKHwhe0vPQaHj\n4iFyXXVPWrO3LxQxJiMW188hhkMK7Jpduzn7KX+W34Ozn4ZkSMVaev9NLerV\nQdc2KjiDavISsbNNYZn/9nhEgjJaiFvHp0MT4f37gWDYoM4y4YgSC7mEkdOV\nwHFQ\r\n=bUqw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3ugijCXo/r9+96Npy0TStvfdX6w/VNxvsarz9rnhUuAIgCcTnDfs1JX/pLNqMNzUmffR0PjdIJWuuiXdPI9i6mhs="}],"size":6642,"noattachment":false,"key":"/fetch-ponyfill/-/fetch-ponyfill-6.0.2.tgz"},"maintainers":[{"name":"qubyte","email":"mark.s.everitt@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-ponyfill_6.0.2_1524677628661_0.17191368637034188"},"_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":1524677628732,"_cnpm_publish_time":1524677628732,"dist-tags":{"latest":"7.1.0"}}