{"_id":"fetch-jsonp","_rev":"191037","name":"fetch-jsonp","description":"Fetch JSONP like a boss using Fetch API","dist-tags":{"latest":"1.2.3"},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"time":{"modified":"2023-03-20T07:26:59.000Z","created":"2015-08-08T10:53:52.880Z","1.2.3":"2022-09-13T10:26:44.415Z","1.2.2":"2022-08-25T08:11:39.932Z","1.2.1":"2021-08-17T09:15:23.298Z","1.2.0":"2021-08-16T15:32:06.622Z","1.1.2":"2017-08-29T06:08:49.115Z","1.1.1":"2017-06-10T00:31:28.938Z","1.1.0":"2017-06-07T01:42:07.754Z","1.0.7":"2017-05-25T13:25:33.786Z","1.0.6":"2017-02-03T02:10:43.057Z","1.0.5":"2016-12-29T09:27:10.018Z","1.0.4":"2016-12-23T10:55:18.171Z","1.0.3":"2016-12-04T05:06:28.041Z","1.0.2":"2016-09-26T01:50:44.225Z","1.0.1":"2016-08-14T03:37:10.743Z","1.0.0":"2015-11-19T02:59:20.242Z","0.9.2":"2015-08-11T06:25:21.817Z","0.9.0":"2015-08-08T10:53:52.880Z"},"users":{},"author":{"name":"Cam Song"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"versions":{"1.2.3":{"name":"fetch-jsonp","version":"1.2.3","description":"Fetch JSONP like a boss using Fetch API","main":"build/fetch-jsonp.js","scripts":{"prepublish":"npm run lint && npm run clean && npm run build","build":"babel src/ --modules umd --out-dir build","clean":"rm -rf build","lint":"eslint src/"},"keywords":["fetch","jsonp","github fetch","ajax"],"devDependencies":{"babel":"^5.8.21","babel-core":"^5.8.21","babel-eslint":"^4.0.5","eslint":"^1.1.0","eslint-config-airbnb":"^0.0.7","eslint-plugin-react":"^3.2.1"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"author":{"name":"Cam Song"},"license":"MIT","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"homepage":"https://github.com/camsong/fetch-jsonp#readme","gitHead":"4e4c6134b1561d162dbd6552e2f1cfe7fe288600","_id":"fetch-jsonp@1.2.3","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"shasum":"ae99a867095cb1ce5c39fac601d70d1084db122f","size":4460,"noattachment":false,"key":"/fetch-jsonp/-/fetch-jsonp-1.2.3.tgz","tarball":"http://name.csiicloud.com:7001/fetch-jsonp/download/fetch-jsonp-1.2.3.tgz"},"_npmUser":{"name":"camsong","email":"neosoyn@gmail.com"},"directories":{},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-jsonp_1.2.3_1663064804211_0.28962673913156234"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-13T10:37:59.713Z","publish_time":1663064804415,"_cnpm_publish_time":1663064804415},"1.2.2":{"name":"fetch-jsonp","version":"1.2.2","description":"Fetch JSONP like a boss using Fetch API","main":"build/fetch-jsonp.js","scripts":{"prepublish":"npm run lint && npm run clean && npm run build","build":"babel src/ --modules umd --out-dir build","clean":"rm -rf build","lint":"eslint src/"},"keywords":["fetch","jsonp","github fetch","ajax"],"devDependencies":{"babel":"^5.8.21","babel-core":"^5.8.21","babel-eslint":"^4.0.5","eslint":"^1.1.0","eslint-config-airbnb":"^0.0.7","eslint-plugin-react":"^3.2.1"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"author":{"name":"Cam Song"},"license":"MIT","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"homepage":"https://github.com/camsong/fetch-jsonp#readme","gitHead":"be1dd0f4883eea93219696fa4a138fca2ffa4592","_id":"fetch-jsonp@1.2.2","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"shasum":"c98923191390119a8eae401a9cbe75845230e000","size":4411,"noattachment":false,"key":"/fetch-jsonp/-/fetch-jsonp-1.2.2.tgz","tarball":"http://name.csiicloud.com:7001/fetch-jsonp/download/fetch-jsonp-1.2.2.tgz"},"_npmUser":{"name":"camsong","email":"neosoyn@gmail.com"},"directories":{},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-jsonp_1.2.2_1661415099717_0.024064165320403674"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-25T08:19:29.930Z","publish_time":1661415099932,"_cnpm_publish_time":1661415099932},"1.2.1":{"name":"fetch-jsonp","version":"1.2.1","description":"Fetch JSONP like a boss using Fetch API","main":"build/fetch-jsonp.js","scripts":{"prepublish":"npm run lint && npm run clean && npm run build","build":"babel src/ --modules umd --out-dir build","clean":"rm -rf build","lint":"eslint src/"},"keywords":["fetch","jsonp","github fetch","ajax"],"devDependencies":{"babel":"^5.8.21","babel-core":"^5.8.21","babel-eslint":"^4.0.5","eslint":"^1.1.0","eslint-config-airbnb":"^0.0.7","eslint-plugin-react":"^3.2.1"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"author":{"name":"Cam Song"},"license":"MIT","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"homepage":"https://github.com/camsong/fetch-jsonp#readme","gitHead":"242a1543154ee70d99a31fc855f642d7364dabfe","_id":"fetch-jsonp@1.2.1","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"shasum":"a3ea630a992ae594cfbf5676e7f5fe4d2f8f03aa","size":4432,"noattachment":false,"key":"/fetch-jsonp/-/fetch-jsonp-1.2.1.tgz","tarball":"http://name.csiicloud.com:7001/fetch-jsonp/download/fetch-jsonp-1.2.1.tgz"},"_npmUser":{"name":"camsong","email":"neosoyn@gmail.com"},"directories":{},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-jsonp_1.2.1_1629191723165_0.21179911480940095"},"_hasShrinkwrap":false,"publish_time":1629191723298,"_cnpm_publish_time":1629191723298,"_cnpmcore_publish_time":"2021-12-16T18:59:54.551Z"},"1.2.0":{"name":"fetch-jsonp","version":"1.2.0","description":"Fetch JSONP like a boss using Fetch API","main":"build/fetch-jsonp.js","scripts":{"prepublish":"npm run lint && npm run clean && npm run build","build":"babel src/ --modules umd --out-dir build","clean":"rm -rf build","lint":"eslint src/ test/"},"keywords":["fetch","jsonp","github fetch","ajax"],"devDependencies":{"babel":"^5.8.21","babel-core":"^5.8.21","babel-eslint":"^4.0.5","eslint":"^1.1.0","eslint-config-airbnb":"^0.0.7","eslint-plugin-react":"^3.2.1"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"author":{"name":"Cam Song"},"license":"MIT","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"homepage":"https://github.com/camsong/fetch-jsonp#readme","gitHead":"cbd5282fe7f67f2fb0b2088deecc3f0e00497994","_id":"fetch-jsonp@1.2.0","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"shasum":"6673f8216c484e5cb50983e100e44fef2ed8da57","size":4391,"noattachment":false,"key":"/fetch-jsonp/-/fetch-jsonp-1.2.0.tgz","tarball":"http://name.csiicloud.com:7001/fetch-jsonp/download/fetch-jsonp-1.2.0.tgz"},"_npmUser":{"name":"camsong","email":"neosoyn@gmail.com"},"directories":{},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-jsonp_1.2.0_1629127926482_0.5400525916974293"},"_hasShrinkwrap":false,"publish_time":1629127926622,"_cnpm_publish_time":1629127926622,"_cnpmcore_publish_time":"2021-12-16T18:59:54.805Z"},"1.1.2":{"name":"fetch-jsonp","version":"1.1.2","description":"Fetch JSONP like a boss using Fetch API","main":"build/fetch-jsonp.js","scripts":{"prepublish":"npm run lint && npm run clean && npm run build","test":"mocha --compilers js:babel/register --recursive --ui bdd --reporter spec","build":"babel src/ --modules umd --out-dir build","clean":"rm -rf build","lint":"eslint src/ test/"},"keywords":["fetch","jsonp","github fetch","ajax"],"devDependencies":{"babel":"^5.8.21","babel-core":"^5.8.21","babel-eslint":"^4.0.5","chai":"^3.2.0","eslint":"^1.1.0","eslint-config-airbnb":"^0.0.7","eslint-plugin-react":"^3.2.1","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"author":{"name":"Cam Song"},"license":"MIT","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"homepage":"https://github.com/camsong/fetch-jsonp#readme","gitHead":"9b56eea2d99904046357695484ac99d35ddf822a","_id":"fetch-jsonp@1.1.2","_shasum":"2cf33704a5081c563e02d26ab8650c3e065fa3f8","_from":".","_npmVersion":"4.1.2","_nodeVersion":"8.1.2","_npmUser":{"name":"camsong","email":"neosoyn@gmail.com"},"dist":{"shasum":"2cf33704a5081c563e02d26ab8650c3e065fa3f8","size":4521,"noattachment":false,"key":"/fetch-jsonp/-/fetch-jsonp-1.1.2.tgz","tarball":"http://name.csiicloud.com:7001/fetch-jsonp/download/fetch-jsonp-1.1.2.tgz"},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-jsonp-1.1.2.tgz_1503986928999_0.5704557315912098"},"directories":{},"publish_time":1503986929115,"_hasShrinkwrap":false,"_cnpm_publish_time":1503986929115,"_cnpmcore_publish_time":"2021-12-16T18:59:55.366Z"},"1.1.1":{"name":"fetch-jsonp","version":"1.1.1","description":"Fetch JSONP like a boss using Fetch API","main":"build/fetch-jsonp.js","scripts":{"prepublish":"npm run lint && npm run clean && npm run build","test":"mocha --compilers js:babel/register --recursive --ui bdd --reporter spec","build":"babel src/ --modules umd --out-dir build","clean":"rm -rf build","lint":"eslint src/ test/"},"keywords":["fetch","jsonp","github fetch","ajax"],"devDependencies":{"babel":"^5.8.21","babel-core":"^5.8.21","babel-eslint":"^4.0.5","chai":"^3.2.0","eslint":"^1.1.0","eslint-config-airbnb":"^0.0.7","eslint-plugin-react":"^3.2.1","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"author":{"name":"Cam Song"},"license":"MIT","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"homepage":"https://github.com/camsong/fetch-jsonp#readme","gitHead":"7fb44c585f71a82d4105a5e9f0a1437a544395d9","_id":"fetch-jsonp@1.1.1","_shasum":"b7b9fd7d3a4f74d38389f5ea2f2d0f46c34510e4","_from":".","_npmVersion":"4.1.2","_nodeVersion":"5.12.0","_npmUser":{"name":"camsong","email":"neosoyn@gmail.com"},"dist":{"shasum":"b7b9fd7d3a4f74d38389f5ea2f2d0f46c34510e4","size":3939,"noattachment":false,"key":"/fetch-jsonp/-/fetch-jsonp-1.1.1.tgz","tarball":"http://name.csiicloud.com:7001/fetch-jsonp/download/fetch-jsonp-1.1.1.tgz"},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-jsonp-1.1.1.tgz_1497054688743_0.16630846122279763"},"directories":{},"publish_time":1497054688938,"_hasShrinkwrap":false,"_cnpm_publish_time":1497054688938,"_cnpmcore_publish_time":"2021-12-16T18:59:55.582Z"},"1.1.0":{"name":"fetch-jsonp","version":"1.1.0","description":"Fetch JSONP like a boss using Fetch API","main":"build/fetch-jsonp.js","scripts":{"test":"mocha --compilers js:babel/register --recursive --ui bdd --reporter spec","build":"babel src/ --modules umd --out-dir build","clean":"rm -rf build","lint":"eslint src/ test/"},"keywords":["fetch","jsonp","github fetch","ajax"],"devDependencies":{"babel":"^5.8.21","babel-core":"^5.8.21","babel-eslint":"^4.0.5","chai":"^3.2.0","eslint":"^1.1.0","eslint-config-airbnb":"^0.0.7","eslint-plugin-react":"^3.2.1","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"author":{"name":"Cam Song"},"license":"MIT","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"homepage":"https://github.com/camsong/fetch-jsonp#readme","gitHead":"2f18a6a61198815e1580655e28e96167ff80ce28","_id":"fetch-jsonp@1.1.0","_shasum":"620c652d5c718b0c42a73229cfee20ac01d780a7","_from":".","_npmVersion":"4.1.2","_nodeVersion":"5.12.0","_npmUser":{"name":"camsong","email":"neosoyn@gmail.com"},"dist":{"shasum":"620c652d5c718b0c42a73229cfee20ac01d780a7","size":3906,"noattachment":false,"key":"/fetch-jsonp/-/fetch-jsonp-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/fetch-jsonp/download/fetch-jsonp-1.1.0.tgz"},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-jsonp-1.1.0.tgz_1496799727671_0.4035462897736579"},"directories":{},"publish_time":1496799727754,"_hasShrinkwrap":false,"_cnpm_publish_time":1496799727754,"_cnpmcore_publish_time":"2021-12-16T18:59:55.792Z"},"1.0.7":{"name":"fetch-jsonp","version":"1.0.7","description":"Fetch JSONP like a boss using Fetch API","main":"build/fetch-jsonp.js","scripts":{"test":"mocha --compilers js:babel/register --recursive --ui bdd --reporter spec","build":"babel src/ --modules umd --out-dir build","clean":"rm -rf build","lint":"eslint src/ test/"},"keywords":["fetch","jsonp","github fetch","ajax"],"devDependencies":{"babel":"^5.8.21","babel-core":"^5.8.21","babel-eslint":"^4.0.5","chai":"^3.2.0","eslint":"^1.1.0","eslint-config-airbnb":"^0.0.7","eslint-plugin-react":"^3.2.1","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"author":{"name":"Cam Song"},"license":"MIT","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"homepage":"https://github.com/camsong/fetch-jsonp#readme","gitHead":"541c6c92983cd896248169524b55a9e8a57312d7","_id":"fetch-jsonp@1.0.7","_shasum":"021c6abf3297d5d63824735805726edbf28976e5","_from":".","_npmVersion":"4.1.2","_nodeVersion":"5.12.0","_npmUser":{"name":"camsong","email":"neosoyn@gmail.com"},"dist":{"shasum":"021c6abf3297d5d63824735805726edbf28976e5","size":3851,"noattachment":false,"key":"/fetch-jsonp/-/fetch-jsonp-1.0.7.tgz","tarball":"http://name.csiicloud.com:7001/fetch-jsonp/download/fetch-jsonp-1.0.7.tgz"},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-jsonp-1.0.7.tgz_1495718733607_0.8781422453466803"},"directories":{},"publish_time":1495718733786,"_hasShrinkwrap":false,"_cnpm_publish_time":1495718733786,"_cnpmcore_publish_time":"2021-12-16T18:59:55.996Z"},"1.0.6":{"name":"fetch-jsonp","version":"1.0.6","description":"Fetch JSONP like a boss using Fetch API","main":"build/fetch-jsonp.js","scripts":{"test":"mocha --compilers js:babel/register --recursive --ui bdd --reporter spec","build":"babel src/ --modules umd --out-dir build","clean":"rm -rf build","lint":"eslint src/ test/"},"keywords":["fetch","jsonp","github fetch","ajax"],"devDependencies":{"babel":"^5.8.21","babel-core":"^5.8.21","babel-eslint":"^4.0.5","chai":"^3.2.0","eslint":"^1.1.0","eslint-config-airbnb":"^0.0.7","eslint-plugin-react":"^3.2.1","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"author":{"name":"Cam Song"},"license":"MIT","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"homepage":"https://github.com/camsong/fetch-jsonp#readme","gitHead":"3b1be53776fa36a548fbf2aa16063c27ca318661","_id":"fetch-jsonp@1.0.6","_shasum":"8d2ae174ed14108292f025f43fa07d2078de6736","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"camsong","email":"neosoyn@gmail.com"},"dist":{"shasum":"8d2ae174ed14108292f025f43fa07d2078de6736","size":3770,"noattachment":false,"key":"/fetch-jsonp/-/fetch-jsonp-1.0.6.tgz","tarball":"http://name.csiicloud.com:7001/fetch-jsonp/download/fetch-jsonp-1.0.6.tgz"},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-jsonp-1.0.6.tgz_1486087842804_0.46444737794809043"},"directories":{},"publish_time":1486087843057,"_hasShrinkwrap":false,"_cnpm_publish_time":1486087843057,"_cnpmcore_publish_time":"2021-12-16T18:59:56.580Z"},"1.0.5":{"name":"fetch-jsonp","version":"1.0.5","description":"Fetch JSONP like a boss using Fetch API","main":"build/fetch-jsonp.js","scripts":{"test":"mocha --compilers js:babel/register --recursive --ui bdd --reporter spec","build":"babel src/ --modules umd --out-dir build","clean":"rm -rf build","lint":"eslint src/ test/"},"keywords":["fetch","jsonp","github fetch","ajax"],"devDependencies":{"babel":"^5.8.21","babel-core":"^5.8.21","babel-eslint":"^4.0.5","chai":"^3.2.0","eslint":"^1.1.0","eslint-config-airbnb":"^0.0.7","eslint-plugin-react":"^3.2.1","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"author":{"name":"Cam Song"},"license":"MIT","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"homepage":"https://github.com/camsong/fetch-jsonp#readme","gitHead":"af613229e0fc7ed86d91d6f7eb943eef92beaecf","_id":"fetch-jsonp@1.0.5","_shasum":"fd1720a6876f557237013ec70ee969dd140486e4","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"camsong","email":"neosoyn@gmail.com"},"dist":{"shasum":"fd1720a6876f557237013ec70ee969dd140486e4","size":3753,"noattachment":false,"key":"/fetch-jsonp/-/fetch-jsonp-1.0.5.tgz","tarball":"http://name.csiicloud.com:7001/fetch-jsonp/download/fetch-jsonp-1.0.5.tgz"},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-jsonp-1.0.5.tgz_1483003629775_0.03485181508585811"},"directories":{},"publish_time":1483003630018,"_hasShrinkwrap":false,"_cnpm_publish_time":1483003630018,"_cnpmcore_publish_time":"2021-12-16T18:59:56.834Z"},"1.0.4":{"name":"fetch-jsonp","version":"1.0.4","description":"Fetch JSONP like a boss using Fetch API","main":"build/fetch-jsonp.js","scripts":{"test":"mocha --compilers js:babel/register --recursive --ui bdd --reporter spec","build":"babel src/ --modules umd --out-dir build","clean":"rm -rf build","lint":"eslint src/ test/"},"keywords":["fetch","jsonp","github fetch","ajax"],"devDependencies":{"babel":"^5.8.21","babel-core":"^5.8.21","babel-eslint":"^4.0.5","chai":"^3.2.0","eslint":"^1.1.0","eslint-config-airbnb":"^0.0.7","eslint-plugin-react":"^3.2.1","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"author":{"name":"Cam Song"},"license":"MIT","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"homepage":"https://github.com/camsong/fetch-jsonp#readme","gitHead":"1c2c9f2fe45b9e090d6e26a349a0b6ac3b4ae130","_id":"fetch-jsonp@1.0.4","_shasum":"270bdc1b0d52bdf32b6436cd7c7d7d1e70a33fd9","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"camsong","email":"neosoyn@gmail.com"},"dist":{"shasum":"270bdc1b0d52bdf32b6436cd7c7d7d1e70a33fd9","size":3699,"noattachment":false,"key":"/fetch-jsonp/-/fetch-jsonp-1.0.4.tgz","tarball":"http://name.csiicloud.com:7001/fetch-jsonp/download/fetch-jsonp-1.0.4.tgz"},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/fetch-jsonp-1.0.4.tgz_1482490516145_0.06446344801224768"},"directories":{},"publish_time":1482490518171,"_hasShrinkwrap":false,"_cnpm_publish_time":1482490518171,"_cnpmcore_publish_time":"2021-12-16T18:59:57.028Z"},"1.0.3":{"name":"fetch-jsonp","version":"1.0.3","description":"Fetch JSONP like a boss using Fetch API","main":"build/fetch-jsonp.js","scripts":{"test":"mocha --compilers js:babel/register --recursive --ui bdd --reporter spec","build":"babel src/ --modules umd --out-dir build","clean":"rm -rf build","lint":"eslint src/ test/"},"keywords":["fetch","jsonp","github fetch","ajax"],"devDependencies":{"babel":"^5.8.21","babel-core":"^5.8.21","babel-eslint":"^4.0.5","chai":"^3.2.0","eslint":"^1.1.0","eslint-config-airbnb":"^0.0.7","eslint-plugin-react":"^3.2.1","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"author":{"name":"Cam Song"},"license":"MIT","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"homepage":"https://github.com/camsong/fetch-jsonp#readme","gitHead":"78cec1343ba5d09a6967e207f83b765bcbca91ed","_id":"fetch-jsonp@1.0.3","_shasum":"724458f1c6fc8fff5462fd0b5b01f5169baeec9b","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"camsong","email":"neosoyn@gmail.com"},"dist":{"shasum":"724458f1c6fc8fff5462fd0b5b01f5169baeec9b","size":3569,"noattachment":false,"key":"/fetch-jsonp/-/fetch-jsonp-1.0.3.tgz","tarball":"http://name.csiicloud.com:7001/fetch-jsonp/download/fetch-jsonp-1.0.3.tgz"},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/fetch-jsonp-1.0.3.tgz_1480827987440_0.2136140235234052"},"directories":{},"publish_time":1480827988041,"_hasShrinkwrap":false,"_cnpm_publish_time":1480827988041,"_cnpmcore_publish_time":"2021-12-16T18:59:57.249Z"},"1.0.2":{"name":"fetch-jsonp","version":"1.0.2","description":"Fetch JSONP like a boss using Fetch API","main":"build/fetch-jsonp.js","scripts":{"test":"mocha --compilers js:babel/register --recursive --ui bdd --reporter spec","build":"babel src/ --modules umd --out-dir build","clean":"rm -rf build","lint":"eslint src/ test/"},"keywords":["fetch","jsonp","github fetch","ajax"],"dependencies":{"es6-promise":"^2.3.0"},"devDependencies":{"babel":"^5.8.21","babel-core":"^5.8.21","babel-eslint":"^4.0.5","chai":"^3.2.0","eslint":"^1.1.0","eslint-config-airbnb":"^0.0.7","eslint-plugin-react":"^3.2.1","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"author":{"name":"Cam Song"},"license":"MIT","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"homepage":"https://github.com/camsong/fetch-jsonp#readme","gitHead":"655c1d0cadc1621873dfb2a6908691dd722998c8","_id":"fetch-jsonp@1.0.2","_shasum":"70684888c3ec6323d0ff757b48f30587ef847647","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"camsong","email":"neosoyn@gmail.com"},"dist":{"shasum":"70684888c3ec6323d0ff757b48f30587ef847647","size":3357,"noattachment":false,"key":"/fetch-jsonp/-/fetch-jsonp-1.0.2.tgz","tarball":"http://name.csiicloud.com:7001/fetch-jsonp/download/fetch-jsonp-1.0.2.tgz"},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-jsonp-1.0.2.tgz_1474854642553_0.3182041561231017"},"directories":{},"publish_time":1474854644225,"_hasShrinkwrap":false,"_cnpm_publish_time":1474854644225,"_cnpmcore_publish_time":"2021-12-16T18:59:57.456Z"},"1.0.1":{"name":"fetch-jsonp","version":"1.0.1","description":"Fetch JSONP like a boss using Fetch API","main":"build/fetch-jsonp.js","scripts":{"test":"mocha --compilers js:babel/register --recursive --ui bdd --reporter spec","build":"babel src/ --modules umd --out-dir build","clean":"rm -rf build","lint":"eslint src/ test/"},"keywords":["fetch","jsonp","github fetch","ajax"],"dependencies":{"es6-promise":"^2.3.0"},"devDependencies":{"babel":"^5.8.21","babel-core":"^5.8.21","babel-eslint":"^4.0.5","chai":"^3.2.0","eslint":"^1.1.0","eslint-config-airbnb":"^0.0.7","eslint-plugin-react":"^3.2.1","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"author":{"name":"Cam Song"},"license":"MIT","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"homepage":"https://github.com/camsong/fetch-jsonp#readme","gitHead":"0e6dd00a19f89dc1042b3b9b84e69d5e02022717","_id":"fetch-jsonp@1.0.1","_shasum":"c0136306873e590c5fe44d76081511213e78c07d","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"camsong","email":"neosoyn@gmail.com"},"dist":{"shasum":"c0136306873e590c5fe44d76081511213e78c07d","size":3322,"noattachment":false,"key":"/fetch-jsonp/-/fetch-jsonp-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/fetch-jsonp/download/fetch-jsonp-1.0.1.tgz"},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/fetch-jsonp-1.0.1.tgz_1471145828018_0.28242166223935783"},"directories":{},"publish_time":1471145830743,"_hasShrinkwrap":false,"_cnpm_publish_time":1471145830743,"_cnpmcore_publish_time":"2021-12-16T18:59:57.648Z"},"1.0.0":{"name":"fetch-jsonp","version":"1.0.0","description":"Fetch JSONP like a boss using Fetch API","main":"build/fetch-jsonp.js","scripts":{"test":"mocha --compilers js:babel/register --recursive --ui bdd --reporter spec","build":"babel src/ --modules umd --out-dir build","clean":"rm -rf build","lint":"eslint src/ test/"},"keywords":["fetch","jsonp","github fetch","ajax"],"dependencies":{"es6-promise":"^2.3.0"},"devDependencies":{"babel":"^5.8.21","babel-core":"^5.8.21","babel-eslint":"^4.0.5","chai":"^3.2.0","eslint":"^1.1.0","eslint-config-airbnb":"^0.0.7","eslint-plugin-react":"^3.2.1","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"author":{"name":"Cam Song"},"license":"MIT","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"homepage":"https://github.com/camsong/fetch-jsonp#readme","gitHead":"44b6e0b8eee67aa9256818ed24879db4074f732a","_id":"fetch-jsonp@1.0.0","_shasum":"d36538645df65d4ce5fbadf17a2969b6cbd5733b","_from":".","_npmVersion":"2.13.2","_nodeVersion":"2.5.0","_npmUser":{"name":"camsong","email":"neosoyn@gmail.com"},"dist":{"shasum":"d36538645df65d4ce5fbadf17a2969b6cbd5733b","size":3305,"noattachment":false,"key":"/fetch-jsonp/-/fetch-jsonp-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/fetch-jsonp/download/fetch-jsonp-1.0.0.tgz"},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"directories":{},"publish_time":1447901960242,"_hasShrinkwrap":false,"_cnpm_publish_time":1447901960242,"_cnpmcore_publish_time":"2021-12-16T18:59:57.933Z"},"0.9.2":{"name":"fetch-jsonp","version":"0.9.2","description":"Fetch JSONP like a boss using Fetch API","main":"build/fetch-jsonp.js","scripts":{"test":"mocha --compilers js:babel/register --recursive --ui bdd --reporter spec","build":"babel src/ --modules umd --out-dir build","clean":"rm -rf build","lint":"eslint src/ test/"},"keywords":["fetch","jsonp","github fetch","ajax"],"dependencies":{"es6-promise":"^2.3.0"},"devDependencies":{"babel":"^5.8.21","babel-core":"^5.8.21","babel-eslint":"^4.0.5","chai":"^3.2.0","eslint":"^1.1.0","eslint-config-airbnb":"^0.0.7","eslint-plugin-react":"^3.2.1","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"author":{"name":"Cam Song"},"license":"MIT","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"homepage":"https://github.com/camsong/fetch-jsonp#readme","gitHead":"d66919ec059722db151bf65ac0149ea9c1c5eef7","_id":"fetch-jsonp@0.9.2","_shasum":"0b583db69a8a342d5fcfb96aa277239c79f90162","_from":".","_npmVersion":"2.13.4","_nodeVersion":"2.5.0","_npmUser":{"name":"camsong","email":"neosoyn@gmail.com"},"dist":{"shasum":"0b583db69a8a342d5fcfb96aa277239c79f90162","size":3429,"noattachment":false,"key":"/fetch-jsonp/-/fetch-jsonp-0.9.2.tgz","tarball":"http://name.csiicloud.com:7001/fetch-jsonp/download/fetch-jsonp-0.9.2.tgz"},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"directories":{},"publish_time":1439274321817,"_hasShrinkwrap":false,"_cnpm_publish_time":1439274321817,"_cnpmcore_publish_time":"2021-12-16T18:59:58.102Z"},"0.9.0":{"name":"fetch-jsonp","version":"0.9.0","description":"Fetch JSONP like a boss using Fetch API","main":"build/fetch-jsonp.js","scripts":{"test":"mocha --compilers js:babel/register --recursive --ui bdd --reporter spec","build":"babel src/ --modules umd --out-dir build","clean":"rm -rf build","lint":"eslint src/ test/"},"keywords":["fetch","jsonp","github fetch","ajax"],"dependencies":{"es6-promise":"^2.3.0"},"devDependencies":{"babel":"^5.8.21","babel-core":"^5.8.21","babel-eslint":"^4.0.5","chai":"^3.2.0","eslint":"^1.1.0","eslint-config-airbnb":"^0.0.7","eslint-plugin-react":"^3.2.1","mocha":"^2.2.5"},"repository":{"type":"git","url":"git+https://github.com/camsong/fetch-jsonp.git"},"author":{"name":"Cam Song"},"license":"MIT","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"homepage":"https://github.com/camsong/fetch-jsonp#readme","gitHead":"6b6d142ff62c82d38a7d78f794aee6bb9f509ae7","_id":"fetch-jsonp@0.9.0","_shasum":"7b4a0e6b4dacb8dcd6274373bdf57e18e57731e9","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.0","_npmUser":{"name":"camsong","email":"neosoyn@gmail.com"},"dist":{"shasum":"7b4a0e6b4dacb8dcd6274373bdf57e18e57731e9","size":3213,"noattachment":false,"key":"/fetch-jsonp/-/fetch-jsonp-0.9.0.tgz","tarball":"http://name.csiicloud.com:7001/fetch-jsonp/download/fetch-jsonp-0.9.0.tgz"},"maintainers":[{"name":"camsong","email":"neosoyn@gmail.com"}],"directories":{},"publish_time":1439031232880,"_hasShrinkwrap":false,"_cnpm_publish_time":1439031232880,"_cnpmcore_publish_time":"2021-12-16T18:59:58.312Z"}},"readme":"# Fetch JSONP [![Build Status](https://travis-ci.org/camsong/fetch-jsonp.svg)](https://travis-ci.org/camsong/fetch-jsonp) [![npm version](https://badge.fury.io/js/fetch-jsonp.svg)](http://badge.fury.io/js/fetch-jsonp) [![npm downloads](https://img.shields.io/npm/dm/fetch-jsonp.svg?style=flat-square)](https://www.npmjs.com/package/fetch-jsonp)\n\nJSONP is NOT supported in standard Fetch API, https://fetch.spec.whatwg.org.\nfetch-jsonp provides you same API to fetch JSONP like native Fetch, also comes\nwith global `fetchJsonp` function.\n\nIf you need a `fetch` polyfill for old browsers, try [github/fetch](http://github.com/github/fetch).\n\n## Installation\n\nYou can install with `npm`.\n\n```\nnpm install fetch-jsonp\n```\n\n## Promise Polyfill for IE\n\nIE8/9/10/11 does not support [ES6 Promise](https://tc39.github.io/ecma262/#sec-promise-constructor), run this to polyfill the global environment at the beginning of your application.\n\n```js\nrequire('es6-promise').polyfill();\n```\n\n## Usage\n\nJSONP only supports GET method, same as `fetch-jsonp`.\n\n### Fetch JSONP in simple way\n\n```javascript\nfetchJsonp('/users.jsonp')\n  .then(function(response) {\n    return response.json()\n  }).then(function(json) {\n    console.log('parsed json', json)\n  }).catch(function(ex) {\n    console.log('parsing failed', ex)\n  })\n```\n\n### Set JSONP callback parameter name, default is 'callback'\n\n```javascript\nfetchJsonp('/users.jsonp', {\n    jsonpCallback: 'custom_callback',\n  })\n  .then(function(response) {\n    return response.json()\n  }).then(function(json) {\n    console.log('parsed json', json)\n  }).catch(function(ex) {\n    console.log('parsing failed', ex)\n  })\n```\n\n### Set JSONP callback function name, default is a random number with `json_` prefix\n\n```javascript\nfetchJsonp('/users.jsonp', {\n    jsonpCallbackFunction: 'function_name_of_jsonp_response'\n  })\n  .then(function(response) {\n    return response.json()\n  }).then(function(json) {\n    console.log('parsed json', json)\n  }).catch(function(ex) {\n    console.log('parsing failed', ex)\n  })\n```\n\n### Set JSONP request timeout, default is 5000ms\n\n```javascript\nfetchJsonp('/users.jsonp', {\n    timeout: 3000,\n  })\n  .then(function(response) {\n    return response.json()\n  }).then(function(json) {\n    console.log('parsed json', json)\n  }).catch(function(ex) {\n    console.log('parsing failed', ex)\n  })\n```\n\n### Difference between `jsonpCallback` and `jsonpCallbackFunction`\nThere two functions can easily be confused with each other, but there is a clear distinction.\n\nDefault values are\n* `jsonpCallback`, default value is `callback`. It's the name of the callback parameter\n* `jsonpCallbackFunction`, default value is `null`. It's the name of the callback function. In order to make it distinct, it's a random string with `jsonp_` prefix like `jsonp_1497658186785_39551`. Leave it blank if it's set by the server, set it explicitly if the callback function name is fixed.\n\n##### Case 1:\n```js\nfetchJsonp('/users.jsonp', {\n  jsonpCallback: 'cb'\n})\n```\nThe request url will be `/users.jsonp?cb=jsonp_1497658186785_39551`, and the server should respond with a function like:\n```js\njsonp_1497658186785_39551(\n  { ...data here... }\n)\n```\n\n##### Case 2:\n```js\nfetchJsonp('/users.jsonp', {\n  jsonpCallbackFunction: 'search_results'\n})\n```\nThe request url will be `/users.jsonp?callback=search_results`, and the server should always respond with a function named `search_results` like:\n```js\nsearch_results(\n  { ...data here... }\n)\n```\n\n### Caveats\n\n#### 1. You need to call `.then(function(response) { return response.json(); })` in order to keep consistent with Fetch API.\n\n#### 2. `Uncaught SyntaxError: Unexpected token :` error\n\nMore than likely, you are calling a JSON api, which does not support JSONP. The difference is that JSON api responds with an object like `{\"data\": 123}` and will throw the error above when being executed as a function. On the other hand, JSONP will respond with a function wrapped object like `jsonp_123132({data: 123})`.\n\n## Browser Support\n\n![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_7-8/internet-explorer_7-8_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/src/opera/opera_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png)\n--- | --- | --- | --- | --- |\nLatest ✔ | Latest ✔ | 8+ ✔ | Latest ✔ | 6.1+ ✔ |\n\n# License\n\nMIT\n\n# Acknowledgement\n\nThanks to [github/fetch](https://github.com/github/fetch) for bring Fetch to old browsers.\n","_attachments":{},"homepage":"https://github.com/camsong/fetch-jsonp#readme","bugs":{"url":"https://github.com/camsong/fetch-jsonp/issues"},"license":"MIT"}