{"name":"fetch-ponyfill","version":"3.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 .","browser_test_helper":"(sleep 1 && opener http://localhost:$npm_package_config_web_port/tests/fetch-browser.spec.html) && http-server -p $npm_package_config_web_port","pretest:browserify":"npm run build && browserify tests/fetch-browser.spec.js --outfile build/browser-test-bundle.js","test:browserify":"npm run browser_test_helper","pretest:webpack":"npm run build && webpack tests/fetch-browser.spec.js build/browser-test-bundle.js","test:webpack":"npm run browser_test_helper","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":"~1.6.0"},"devDependencies":{"browserify":"~13.0.0","eslint":"~3.3.1","eslint-config-vizia":"~1.1.2","http-server":"~0.9.0","mkdirp":"~0.5.1","mocha":"~2.4.5","nock":"~8.0.0","opn":"~4.0.1","promise":"~7.1.1","rimraf":"~2.5.2","sinon":"~1.17.4","webpack":"~1.13.0","whatwg-fetch":"~1.0.0"},"files":["fetch-node.js","build/fetch-browser.js"],"gitHead":"64092b629bcc5e6d58d7872d68047e45a763f198","bugs":{"url":"https://github.com/qubyte/fetch-ponyfill/issues"},"homepage":"https://github.com/qubyte/fetch-ponyfill#readme","_id":"fetch-ponyfill@3.0.2","_shasum":"09ff05393ff315beafcd465940ed6bdc9a81fe19","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"qubyte","email":"mark.s.everitt@gmail.com"},"maintainers":[{"name":"qubyte","email":"mark.s.everitt@gmail.com"}],"dist":{"shasum":"09ff05393ff315beafcd465940ed6bdc9a81fe19","tarball":"http://registry-npm.ywwl.com/fetch-ponyfill/download/fetch-ponyfill-3.0.2.tgz","integrity":"sha512-lErCiOuVZXBh1bgSsDBdGc0vkSNb2RZkkjBcG5bnXxDwa1C4FCX3NV28x0ptphf5Vdq2wBZ0Pr6DpjITv0hyxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID06yle6tkAa1cC55nE6mZmyY2VHbM3GMVBYn9V+5LcbAiA1sZ1aAEQ41ibXB9pd2/GXIe91GoN/I/F79TJ1pTs+Lg=="}],"size":5819,"noattachment":false,"key":"/fetch-ponyfill/-/fetch-ponyfill-3.0.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-ponyfill-3.0.2.tgz_1475495306607_0.32355079567059875"},"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":1475495308364,"_cnpm_publish_time":1475495308364,"dist-tags":{"latest":"7.1.0"}}