{"_id":"fetch-everywhere","_rev":"8-25e34f653ef6d96664ddaa33a28ab877","name":"fetch-everywhere","description":"Isomorphic WHATWG Fetch API, for ALL node based environments.","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.2":{"name":"fetch-everywhere","version":"1.0.2","description":"Isomorphic WHATWG Fetch API, for ALL node based environments.","browser":"fetch-npm-browserify.js","main":"fetch-npm-node.js","scripts":{"files":"find . -name '*.js' ! -path './node_modules/*' ! -path './bower_components/*'","test":"jshint `npm run -s files` && lintspaces -i js-comments -e .editorconfig `npm run -s files` && mocha"},"repository":{"type":"git","url":"git+https://github.com/lucasfeliciano/fetch-everywhere.git"},"author":{"name":"Lucas Feliciano","email":"mail@lucasfeliciano.com"},"license":"MIT","bugs":{"url":"https://github.com/lucasfeliciano/fetch-everywhere/issues"},"homepage":"https://github.com/lucasfeliciano/fetch-everywhere/issues","dependencies":{"node-fetch":"^1.0.1","whatwg-fetch":">=0.10.0"},"devDependencies":{"chai":"^1.10.0","es6-promise":"^2.0.1","jshint":"^2.5.11","lintspaces-cli":"0.0.4","mocha":"^2.1.0","nock":"^0.56.0","npm-prepublish":"^1.0.2"},"keywords":["fetch","isomorphic-fetch","http","request","webpack","browserify","react-native","browser","whatwg-fetch","whatwg"],"gitHead":"babf0c9385edb85acecf94a4b73a30fc5e7a0874","_id":"fetch-everywhere@1.0.2","_shasum":"5db55aa8f2613adfd34fc38e7aadda7a0dd19b36","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"lucasfeliciano","email":"mail@lucasfeliciano.com"},"dist":{"shasum":"5db55aa8f2613adfd34fc38e7aadda7a0dd19b36","tarball":"https://registry.npmjs.org/fetch-everywhere/-/fetch-everywhere-1.0.2.tgz","integrity":"sha512-NJR0Eqc/KswkRtkKXmanBRRq/zsPhbbWtspNxpzcxZNKz9jrsZCo1QqrJR6oMGxcWLvZ3yMggXUPVugEZR5fmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjmecYjefBdWZH3ZN6UcE+F9qJkiBiqxj+HdowGRE8PQIgTubiY18u/yMcGuLwOpBvB13Vdhu8d3jehbA5aKoTRtE="}]},"maintainers":[{"name":"lucasfeliciano","email":"mail@lucasfeliciano.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-everywhere-1.0.2.tgz_1459762170780_0.4331242002081126"}},"1.0.3":{"name":"fetch-everywhere","version":"1.0.3","description":"Isomorphic WHATWG Fetch API, for ALL node based environments.","browser":"fetch-npm-browserify.js","main":"fetch-npm-node.js","scripts":{"files":"find . -name '*.js' ! -path './node_modules/*' ! -path './bower_components/*'","test":"jshint `npm run -s files` && lintspaces -i js-comments -e .editorconfig `npm run -s files` && mocha"},"repository":{"type":"git","url":"git+https://github.com/lucasfeliciano/fetch-everywhere.git"},"author":{"name":"Lucas Feliciano","email":"mail@lucasfeliciano.com"},"license":"MIT","bugs":{"url":"https://github.com/lucasfeliciano/fetch-everywhere/issues"},"homepage":"https://github.com/lucasfeliciano/fetch-everywhere/issues","dependencies":{"node-fetch":"^1.0.1","whatwg-fetch":">=0.10.0"},"devDependencies":{"chai":"^1.10.0","es6-promise":"^2.0.1","jshint":"^2.5.11","lintspaces-cli":"0.0.4","mocha":"^2.1.0","nock":"^0.56.0","npm-prepublish":"^1.0.2"},"keywords":["fetch","isomorphic-fetch","http","request","webpack","browserify","react-native","browser","whatwg-fetch","whatwg"],"gitHead":"daa2189a8642712df4ab0c22e7ec107b99412789","_id":"fetch-everywhere@1.0.3","_shasum":"622f5ca73db711b0ecf6b2d4d9a6ab828caf17f8","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"lucasfeliciano","email":"mail@lucasfeliciano.com"},"dist":{"shasum":"622f5ca73db711b0ecf6b2d4d9a6ab828caf17f8","tarball":"https://registry.npmjs.org/fetch-everywhere/-/fetch-everywhere-1.0.3.tgz","integrity":"sha512-Hpz488F/YIqjxV1m40wZZsmR26NYIluS84lszNWfFacOdJId3bSZF4dEnQBp/Ufo8pv2SSEts+ikZWbT+balug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDmb3VYj3gUucFhw13xzZHor6jX5s8jm7CInjxw9rfimAiAS2JRD9lhrHY4MWlEVeTtgBdNyRq/3h8WTkcADny8bJQ=="}]},"maintainers":[{"name":"lucasfeliciano","email":"mail@lucasfeliciano.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-everywhere-1.0.3.tgz_1465550600255_0.6230254259426147"}},"1.0.4":{"name":"fetch-everywhere","version":"1.0.4","description":"Isomorphic WHATWG Fetch API, for ALL node based environments.","browser":"fetch-npm-browserify.js","main":"fetch-npm-node.js","scripts":{"files":"find . -name '*.js' ! -path './node_modules/*' ! -path './bower_components/*'","test":"jshint `npm run -s files` && lintspaces -i js-comments -e .editorconfig `npm run -s files` && mocha"},"repository":{"type":"git","url":"git+https://github.com/lucasfeliciano/fetch-everywhere.git"},"author":{"name":"Lucas Feliciano","email":"mail@lucasfeliciano.com"},"license":"MIT","bugs":{"url":"https://github.com/lucasfeliciano/fetch-everywhere/issues"},"homepage":"https://github.com/lucasfeliciano/fetch-everywhere/issues","dependencies":{"node-fetch":"^1.0.1","whatwg-fetch":">=0.10.0"},"devDependencies":{"chai":"^1.10.0","es6-promise":"^2.0.1","jshint":"^2.5.11","lintspaces-cli":"0.0.4","mocha":"^2.1.0","nock":"^0.56.0","npm-prepublish":"^1.0.2"},"keywords":["fetch","isomorphic-fetch","http","request","webpack","browserify","react-native","browser","whatwg-fetch","whatwg"],"gitHead":"993fd3e522228c2edee375cf98b752c1719c0d99","_id":"fetch-everywhere@1.0.4","_shasum":"f3325e2a73d5574b291123a20f568d9b89730d1b","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"lucasfeliciano","email":"mail@lucasfeliciano.com"},"dist":{"shasum":"f3325e2a73d5574b291123a20f568d9b89730d1b","tarball":"https://registry.npmjs.org/fetch-everywhere/-/fetch-everywhere-1.0.4.tgz","integrity":"sha512-PxwoUGpyQf4Zkoh4TYH3ormw8coH7roagF0dIveLIKtxqWzyIOohpC49e9QAoflwoTd6fgyDqxvIIStpV5aaTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkr0mL93cz5fjGWKBSTlbcD0VbZinISaoqGdyXl3jqcwIhALKTzKRgIDhwWD9r///irBs+lzCgLZ+8ljjKWMOCEBJp"}]},"maintainers":[{"name":"lucasfeliciano","email":"mail@lucasfeliciano.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-everywhere-1.0.4.tgz_1465551525037_0.6046544054988772"}},"1.0.5":{"name":"fetch-everywhere","version":"1.0.5","description":"Isomorphic WHATWG Fetch API, for ALL node based environments.","browser":"fetch-npm-browserify.js","main":"fetch-npm-node.js","scripts":{"files":"find . -name '*.js' ! -path './node_modules/*' ! -path './bower_components/*'","test":"jshint `npm run -s files` && lintspaces -i js-comments -e .editorconfig `npm run -s files` && mocha"},"repository":{"type":"git","url":"git+https://github.com/lucasfeliciano/fetch-everywhere.git"},"author":{"name":"Lucas Feliciano","email":"mail@lucasfeliciano.com"},"license":"MIT","bugs":{"url":"https://github.com/lucasfeliciano/fetch-everywhere/issues"},"homepage":"https://github.com/lucasfeliciano/fetch-everywhere/issues","dependencies":{"node-fetch":"^1.0.1","whatwg-fetch":">=0.10.0"},"devDependencies":{"chai":"^1.10.0","es6-promise":"^2.0.1","jshint":"^2.5.11","lintspaces-cli":"0.0.4","mocha":"^2.1.0","nock":"^0.56.0","npm-prepublish":"^1.0.2"},"keywords":["fetch","isomorphic-fetch","http","request","webpack","browserify","react-native","browser","whatwg-fetch","whatwg"],"gitHead":"b472faedba57cff3d5a6d1f2183812ab47a9f387","_id":"fetch-everywhere@1.0.5","_shasum":"b2497f47a57d9026b3907c09756acf5f4bd34e8b","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"lucasfeliciano","email":"mail@lucasfeliciano.com"},"dist":{"shasum":"b2497f47a57d9026b3907c09756acf5f4bd34e8b","tarball":"https://registry.npmjs.org/fetch-everywhere/-/fetch-everywhere-1.0.5.tgz","integrity":"sha512-f4rkpwDbfiFbLHeXZ3ZChuFc3pIQLVZzwdCzke75/7g0nQbsZQBxYT+cRfquhepHqO6qeCYmvaTw0DYoNLq0Gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPqUv0O3dmIpJAEkWP+0jl4DHhd6KXgIYs7CML8DcrwAIhALMJk/AgAkzdWj7GVzdtKA4APR62jdSAAduqVbUKz0wZ"}]},"maintainers":[{"name":"lucasfeliciano","email":"mail@lucasfeliciano.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/fetch-everywhere-1.0.5.tgz_1466500083200_0.18106432491913438"}}},"readme":"\nWHATWG `fetch` API for ALL JavaScript environments.  Built on top of [isomorphic-fetch](https://github.com/matthew-andrews/isomorphic-fetch) & [GitHub's WHATWG Fetch polyfill](https://github.com/github/fetch).\n\nThe idea behind this npm module is to support ALL JavaScript environments. If doesn't work for you, open a issue and we will support it.\n\n:)\n\n## Suported environments\n\n- node.js\n- browser\n- browserify\n- webpack\n- react-native\n\n## Warnings\n\n- This adds `fetch` as a global so that its API is consistent between client and server.\n- You must bring your own ES6 Promise compatible polyfill, I suggest [es6-promise](https://github.com/jakearchibald/es6-promise).\n\n## Installation\n\n### NPM\n\n```sh\nnpm install --save fetch-everywhere es6-promise\n```\n\n### Bower\n\n```sh\nbower install --save fetch-everywhere es6-promise\n```\n\n## Usage\n\n```js\nrequire('es6-promise').polyfill();\nrequire('fetch-everywhere');\n\nfetch('//offline-news-api.herokuapp.com/stories')\n\t.then(function(response) {\n\t\tif (response.status >= 400) {\n\t\t\tthrow new Error(\"Bad response from server\");\n\t\t}\n\t\treturn response.json();\n\t})\n\t.then(function(stories) {\n\t\tconsole.log(stories);\n\t});\n```\n\n## License\nThanks to\n","maintainers":[{"name":"lucasfeliciano","email":"mail@lucasfeliciano.com"}],"time":{"modified":"2022-06-18T00:14:48.246Z","created":"2016-04-04T09:29:33.052Z","1.0.2":"2016-04-04T09:29:33.052Z","1.0.3":"2016-06-10T09:23:22.593Z","1.0.4":"2016-06-10T09:38:47.442Z","1.0.5":"2016-06-21T09:08:04.693Z"},"homepage":"https://github.com/lucasfeliciano/fetch-everywhere/issues","keywords":["fetch","isomorphic-fetch","http","request","webpack","browserify","react-native","browser","whatwg-fetch","whatwg"],"repository":{"type":"git","url":"git+https://github.com/lucasfeliciano/fetch-everywhere.git"},"author":{"name":"Lucas Feliciano","email":"mail@lucasfeliciano.com"},"bugs":{"url":"https://github.com/lucasfeliciano/fetch-everywhere/issues"},"license":"MIT","readmeFilename":"README.md","users":{"arnold-almeida":true,"derrickbeining":true}}