{"_id":"d3-fetch","_rev":"376348","name":"d3-fetch","description":"Convenient parsing for Fetch.","dist-tags":{"latest":"3.0.1","next":"2.0.0-rc.1"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"},{"name":"recifs","email":"fil@rezo.net"}],"time":{"modified":"2021-07-30T05:40:09.000Z","created":"2016-10-22T15:24:12.022Z","3.0.1":"2021-06-05T18:34:14.207Z","3.0.0":"2021-06-04T17:33:10.792Z","2.0.0":"2020-08-23T15:52:04.594Z","2.0.0-rc.1":"2020-07-27T14:37:54.375Z","1.2.0":"2020-06-03T15:36:50.756Z","1.1.2":"2018-08-24T21:25:25.408Z","1.1.1":"2018-08-24T19:06:42.007Z","1.1.0":"2018-02-26T19:24:18.570Z","1.0.1":"2018-01-29T03:10:01.180Z","1.0.0":"2018-01-28T17:51:43.229Z","0.1.0":"2017-11-28T22:06:38.903Z","0.0.2":"2016-10-24T21:44:44.252Z","0.0.1":"2016-10-22T15:24:12.022Z"},"users":{},"author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"repository":{"type":"git","url":"git+https://github.com/d3/d3-fetch.git"},"versions":{"3.0.1":{"name":"d3-fetch","version":"3.0.1","description":"Convenient parsing for Fetch.","homepage":"https://d3js.org/d3-fetch/","repository":{"type":"git","url":"git+https://github.com/d3/d3-fetch.git"},"keywords":["d3","d3-module","fetch","ajax","XMLHttpRequest"],"license":"ISC","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"type":"module","module":"src/index.js","main":"src/index.js","jsdelivr":"dist/d3-fetch.min.js","unpkg":"dist/d3-fetch.min.js","exports":{"umd":"./dist/d3-fetch.min.js","default":"./src/index.js"},"sideEffects":false,"dependencies":{"d3-dsv":"1 - 3"},"devDependencies":{"eslint":"7","mocha":"8","rollup":"2","rollup-plugin-terser":"7"},"scripts":{"test":"mocha 'test/**/*-test.js' && eslint src test","prepublishOnly":"rm -rf dist && yarn test && rollup -c","postpublish":"git push && git push --tags && cd ../d3.github.com && git pull && cp ../${npm_package_name}/dist/${npm_package_name}.js ${npm_package_name}.v${npm_package_version%%.*}.js && cp ../${npm_package_name}/dist/${npm_package_name}.min.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git add ${npm_package_name}.v${npm_package_version%%.*}.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git commit -m \"${npm_package_name} ${npm_package_version}\" && git push && cd -"},"engines":{"node":">=12"},"gitHead":"20a0b61b87a55c88e6b83580c927523b5c0448fe","bugs":{"url":"https://github.com/d3/d3-fetch/issues"},"_id":"d3-fetch@3.0.1","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","dist":{"shasum":"83141bff9856a0edb5e38de89cdcfe63d0a60a22","size":4735,"noattachment":false,"key":"/d3-fetch/-/d3-fetch-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-fetch/download/d3-fetch-3.0.1.tgz"},"_npmUser":{"name":"mbostock","email":"mike@ocks.org"},"directories":{},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"},{"name":"recifs","email":"fil@rezo.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/d3-fetch_3.0.1_1622918054083_0.6839276150726885"},"_hasShrinkwrap":false,"publish_time":1622918054207,"_cnpm_publish_time":1622918054207},"3.0.0":{"name":"d3-fetch","version":"3.0.0","description":"Convenient parsing for Fetch.","homepage":"https://d3js.org/d3-fetch/","repository":{"type":"git","url":"git+https://github.com/d3/d3-fetch.git"},"keywords":["d3","d3-module","fetch","ajax","XMLHttpRequest"],"license":"ISC","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"type":"module","module":"src/index.js","main":"src/index.js","jsdelivr":"dist/d3-fetch.min.js","unpkg":"dist/d3-fetch.min.js","exports":{"umd":"./dist/d3-fetch.min.js","default":"./src/index.js"},"sideEffects":false,"dependencies":{"d3-dsv":"1 - 3"},"devDependencies":{"eslint":"7","mocha":"8","rollup":"2","rollup-plugin-terser":"7"},"scripts":{"test":"mocha 'test/**/*-test.js' && eslint src test","prepublishOnly":"rm -rf dist && yarn test && rollup -c","postpublish":"git push && git push --tags && cd ../d3.github.com && git pull && cp ../${npm_package_name}/dist/${npm_package_name}.js ${npm_package_name}.v${npm_package_version%%.*}.js && cp ../${npm_package_name}/dist/${npm_package_name}.min.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git add ${npm_package_name}.v${npm_package_version%%.*}.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git commit -m \"${npm_package_name} ${npm_package_version}\" && git push && cd -"},"engines":{"node":">=12"},"gitHead":"8a165f1144e2ccf2ff818bd82d472b7e0eba3675","bugs":{"url":"https://github.com/d3/d3-fetch/issues"},"_id":"d3-fetch@3.0.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","dist":{"shasum":"2deaae72b9d705d14eb701285f0ae5f4ad0b8368","size":4736,"noattachment":false,"key":"/d3-fetch/-/d3-fetch-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-fetch/download/d3-fetch-3.0.0.tgz"},"_npmUser":{"name":"mbostock","email":"mike@ocks.org"},"directories":{},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"},{"name":"recifs","email":"fil@rezo.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/d3-fetch_3.0.0_1622827990664_0.5992581228153733"},"_hasShrinkwrap":false,"publish_time":1622827990792,"_cnpm_publish_time":1622827990792},"2.0.0":{"name":"d3-fetch","version":"2.0.0","description":"Convenient parsing for Fetch.","keywords":["d3","d3-module","fetch","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-fetch/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"dist/d3-fetch.js","unpkg":"dist/d3-fetch.min.js","jsdelivr":"dist/d3-fetch.min.js","module":"src/index.js","repository":{"type":"git","url":"https://github.com/d3/d3-fetch.git"},"scripts":{"pretest":"rollup -c","test":"tape 'test/**/*-test.js' && eslint src","prepublishOnly":"rm -rf dist && yarn test","postpublish":"git push && git push --tags && cd ../d3.github.com && git pull && cp ../${npm_package_name}/dist/${npm_package_name}.js ${npm_package_name}.v${npm_package_version%%.*}.js && cp ../${npm_package_name}/dist/${npm_package_name}.min.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git add ${npm_package_name}.v${npm_package_version%%.*}.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git commit -m \"${npm_package_name} ${npm_package_version}\" && git push && cd - && zip -j dist/${npm_package_name}.zip -- LICENSE README.md dist/${npm_package_name}.js dist/${npm_package_name}.min.js"},"dependencies":{"d3-dsv":"1 - 2"},"sideEffects":false,"devDependencies":{"eslint":"6","rollup":"1","rollup-plugin-terser":"5","tape":"4"},"licenseText":"Copyright 2016 Mike Bostock\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of the author nor the names of contributors may be used to\n  endorse or promote products derived from this software without specific prior\n  written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"d3-fetch@2.0.0","dist":{"shasum":"ecd7ef2128d9847a3b41b548fec80918d645c064","size":5043,"noattachment":false,"key":"/d3-fetch/-/d3-fetch-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-fetch/download/d3-fetch-2.0.0.tgz"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"},{"name":"recifs","email":"fil@rezo.net"}],"_npmUser":{"name":"recifs","email":"fil@rezo.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/d3-fetch_2.0.0_1598197924470_0.8767648491329199"},"_hasShrinkwrap":false,"publish_time":1598197924594,"_cnpm_publish_time":1598197924594},"2.0.0-rc.1":{"name":"d3-fetch","version":"2.0.0-rc.1","publishConfig":{"tag":"next"},"description":"Convenient parsing for Fetch.","keywords":["d3","d3-module","fetch","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-fetch/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"dist/d3-fetch.js","unpkg":"dist/d3-fetch.min.js","jsdelivr":"dist/d3-fetch.min.js","module":"src/index.js","repository":{"type":"git","url":"https://github.com/d3/d3-fetch.git"},"scripts":{"pretest":"rollup -c","test":"tape 'test/**/*-test.js' && eslint src","prepublishOnly":"rm -rf dist && yarn test","postpublish":"git push && git push --tags && cd ../d3.github.com && git pull && cp ../${npm_package_name}/dist/${npm_package_name}.js ${npm_package_name}.v${npm_package_version%%.*}.js && cp ../${npm_package_name}/dist/${npm_package_name}.min.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git add ${npm_package_name}.v${npm_package_version%%.*}.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git commit -m \"${npm_package_name} ${npm_package_version}\" && git push && cd - && zip -j dist/${npm_package_name}.zip -- LICENSE README.md dist/${npm_package_name}.js dist/${npm_package_name}.min.js"},"dependencies":{"d3-dsv":">=2.0.0-rc.1"},"sideEffects":false,"devDependencies":{"eslint":"6","rollup":"1","rollup-plugin-terser":"5","tape":"4"},"readmeFilename":"README.md","licenseText":"Copyright 2016 Mike Bostock\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of the author nor the names of contributors may be used to\n  endorse or promote products derived from this software without specific prior\n  written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"d3-fetch@2.0.0-rc.1","dist":{"shasum":"880690a78eb64dea5ea3a506b9da329fc28fefa3","size":5062,"noattachment":false,"key":"/d3-fetch/-/d3-fetch-2.0.0-rc.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-fetch/download/d3-fetch-2.0.0-rc.1.tgz"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"},{"name":"recifs","email":"fil@rezo.net"}],"_npmUser":{"name":"recifs","email":"fil@rezo.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/d3-fetch_2.0.0-rc.1_1595860674214_0.4498115639199245"},"_hasShrinkwrap":false,"publish_time":1595860674375,"_cnpm_publish_time":1595860674375},"1.2.0":{"name":"d3-fetch","version":"1.2.0","description":"Convenient parsing for Fetch.","keywords":["d3","d3-module","fetch","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-fetch/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"dist/d3-fetch.js","unpkg":"dist/d3-fetch.min.js","jsdelivr":"dist/d3-fetch.min.js","module":"src/index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-fetch.git"},"scripts":{"pretest":"rollup -c","test":"tape 'test/**/*-test.js' && eslint src","prepublishOnly":"rm -rf dist && yarn test","postpublish":"git push && git push --tags && cd ../d3.github.com && git pull && cp ../${npm_package_name}/dist/${npm_package_name}.js ${npm_package_name}.v${npm_package_version%%.*}.js && cp ../${npm_package_name}/dist/${npm_package_name}.min.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git add ${npm_package_name}.v${npm_package_version%%.*}.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git commit -m \"${npm_package_name} ${npm_package_version}\" && git push && cd - && zip -j dist/${npm_package_name}.zip -- LICENSE README.md dist/${npm_package_name}.js dist/${npm_package_name}.min.js"},"dependencies":{"d3-dsv":"1"},"sideEffects":false,"devDependencies":{"eslint":"6","rollup":"1","rollup-plugin-terser":"5","tape":"4"},"gitHead":"2ea23c29a7e9ee30f513d5852dd91644b14a312d","bugs":{"url":"https://github.com/d3/d3-fetch/issues"},"_id":"d3-fetch@1.2.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"15ce2ecfc41b092b1db50abd2c552c2316cf7fc7","size":4923,"noattachment":false,"key":"/d3-fetch/-/d3-fetch-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-fetch/download/d3-fetch-1.2.0.tgz"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"},{"name":"recifs","email":"fil@rezo.net"}],"_npmUser":{"name":"mbostock","email":"mike@ocks.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/d3-fetch_1.2.0_1591198610662_0.8338060020048736"},"_hasShrinkwrap":false,"publish_time":1591198610756,"_cnpm_publish_time":1591198610756},"1.1.2":{"name":"d3-fetch","version":"1.1.2","description":"Convenient parsing for Fetch.","keywords":["d3","d3-module","fetch","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-fetch/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"dist/d3-fetch.js","unpkg":"dist/d3-fetch.min.js","jsdelivr":"dist/d3-fetch.min.js","module":"src/index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-fetch.git"},"scripts":{"pretest":"rollup -c","test":"tape 'test/**/*-test.js' && eslint src","prepublishOnly":"rm -rf dist && yarn test","postpublish":"git push && git push --tags && cd ../d3.github.com && git pull && cp ../${npm_package_name}/dist/${npm_package_name}.js ${npm_package_name}.v${npm_package_version%%.*}.js && cp ../${npm_package_name}/dist/${npm_package_name}.min.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git add ${npm_package_name}.v${npm_package_version%%.*}.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git commit -m \"${npm_package_name} ${npm_package_version}\" && git push && cd - && zip -j dist/${npm_package_name}.zip -- LICENSE README.md dist/${npm_package_name}.js dist/${npm_package_name}.min.js"},"dependencies":{"d3-dsv":"1"},"devDependencies":{"eslint":"5","rollup":"0.64","rollup-plugin-terser":"1","tape":"4"},"gitHead":"00ca83fd310c7331bf262676e86e2429fb93a26b","bugs":{"url":"https://github.com/d3/d3-fetch/issues"},"_id":"d3-fetch@1.1.2","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"mbostock","email":"mike@ocks.org"},"dist":{"shasum":"957c8fbc6d4480599ba191b1b2518bf86b3e1be2","size":15411,"noattachment":false,"key":"/d3-fetch/-/d3-fetch-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-fetch/download/d3-fetch-1.1.2.tgz"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"},{"name":"recifs","email":"fil@rezo.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/d3-fetch_1.1.2_1535145925304_0.9534018010841996"},"_hasShrinkwrap":false,"publish_time":1535145925408,"_cnpm_publish_time":1535145925408},"1.1.1":{"name":"d3-fetch","version":"1.1.1","description":"Convenient parsing for Fetch.","keywords":["d3","d3-module","fetch","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-fetch/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"dist/d3-fetch.min.js","module":"index","jsnext:main":"index","repository":{"type":"git","url":"git+https://github.com/d3/d3-fetch.git"},"scripts":{"pretest":"rollup -c","test":"tape 'test/**/*-test.js' && eslint index.js src","prepublishOnly":"rm -rf dist && yarn test","postpublish":"git push && git push --tags && cd ../d3.github.com && git pull && cp ../${npm_package_name}/dist/${npm_package_name}.js ${npm_package_name}.v1.js && cp ../${npm_package_name}/dist/${npm_package_name}.min.js ${npm_package_name}.v1.min.js && git add ${npm_package_name}.v1.js ${npm_package_name}.v1.min.js && git commit -m \"${npm_package_name} ${npm_package_version}\" && git push && cd - && zip -j dist/${npm_package_name}.zip -- LICENSE README.md dist/${npm_package_name}.js dist/${npm_package_name}.min.js"},"dependencies":{"d3-dsv":"1"},"devDependencies":{"eslint":"5","rollup":"0.64","rollup-plugin-terser":"1","tape":"4"},"gitHead":"bd14f9b08533ebd69605464d8755057f444a6398","bugs":{"url":"https://github.com/d3/d3-fetch/issues"},"_id":"d3-fetch@1.1.1","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"mbostock","email":"mike@ocks.org"},"dist":{"shasum":"621685dd508b630be9e3913d61023eff8f65d673","size":15393,"noattachment":false,"key":"/d3-fetch/-/d3-fetch-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-fetch/download/d3-fetch-1.1.1.tgz"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"},{"name":"recifs","email":"fil@rezo.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/d3-fetch_1.1.1_1535137601897_0.03774894050516098"},"_hasShrinkwrap":false,"publish_time":1535137602007,"_cnpm_publish_time":1535137602007},"1.1.0":{"name":"d3-fetch","version":"1.1.0","description":"Convenient parsing for Fetch.","keywords":["d3","d3-module","fetch","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-fetch/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"dist/d3-fetch.js","module":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-fetch.git"},"scripts":{"pretest":"rm -rf dist && mkdir dist && rollup -c --banner \"$(preamble)\"","test":"tape 'test/**/*-test.js'","prepublishOnly":"npm run test && uglifyjs -b beautify=false,preamble=\"'$(preamble)'\" dist/d3-fetch.js -c -m -o dist/d3-fetch.min.js","postpublish":"git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-fetch/dist/d3-fetch.js d3-fetch.v1.js && cp ../d3-fetch/dist/d3-fetch.min.js d3-fetch.v1.min.js && git add d3-fetch.v1.js d3-fetch.v1.min.js && git commit -m \"d3-fetch ${npm_package_version}\" && git push && cd - && zip -j dist/d3-fetch.zip -- LICENSE README.md dist/d3-fetch.js dist/d3-fetch.min.js"},"dependencies":{"d3-dsv":"1"},"devDependencies":{"eslint":"4","package-preamble":"0.1","rollup":"0.52","tape":"4","uglify-js":"3.2"},"gitHead":"daaae6193919c21b999f5daa89a0223681c19463","bugs":{"url":"https://github.com/d3/d3-fetch/issues"},"_id":"d3-fetch@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"mbostock","email":"mike@ocks.org"},"dist":{"shasum":"31cbcd506b21d6519ac6a120a079de8d0a57c00f","size":5124,"noattachment":false,"key":"/d3-fetch/-/d3-fetch-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-fetch/download/d3-fetch-1.1.0.tgz"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"},{"name":"recifs","email":"fil@rezo.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/d3-fetch_1.1.0_1519673058495_0.49875393572746085"},"_hasShrinkwrap":false,"publish_time":1519673058570,"_cnpm_publish_time":1519673058570},"1.0.1":{"name":"d3-fetch","version":"1.0.1","description":"Convenient parsing for Fetch.","keywords":["d3","d3-module","fetch","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-fetch/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"dist/d3-fetch.js","module":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-fetch.git"},"scripts":{"pretest":"rm -rf dist && mkdir dist && rollup -c --banner \"$(preamble)\"","test":"tape 'test/**/*-test.js'","prepublishOnly":"npm run test && uglifyjs -b beautify=false,preamble=\"'$(preamble)'\" dist/d3-fetch.js -c -m -o dist/d3-fetch.min.js","postpublish":"git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-fetch/dist/d3-fetch.js d3-fetch.v1.js && cp ../d3-fetch/dist/d3-fetch.min.js d3-fetch.v1.min.js && git add d3-fetch.v1.js d3-fetch.v1.min.js && git commit -m \"d3-fetch ${npm_package_version}\" && git push && cd - && zip -j dist/d3-fetch.zip -- LICENSE README.md dist/d3-fetch.js dist/d3-fetch.min.js"},"dependencies":{"d3-dsv":"1"},"devDependencies":{"eslint":"4","package-preamble":"0.1","rollup":"0.52","tape":"4","uglify-js":"3.2"},"gitHead":"90769c21be0909575a8ca1f9c418714540d7b6be","bugs":{"url":"https://github.com/d3/d3-fetch/issues"},"_id":"d3-fetch@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"mbostock","email":"mike@ocks.org"},"dist":{"shasum":"177e1538511b2d0356a9bb076dd60955692280ae","size":4762,"noattachment":false,"key":"/d3-fetch/-/d3-fetch-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-fetch/download/d3-fetch-1.0.1.tgz"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"},{"name":"recifs","email":"fil@rezo.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/d3-fetch-1.0.1.tgz_1517195401090_0.49150442401878536"},"directories":{},"publish_time":1517195401180,"_hasShrinkwrap":false,"_cnpm_publish_time":1517195401180},"1.0.0":{"name":"d3-fetch","version":"1.0.0","description":"Convenient parsing for Fetch.","keywords":["d3","d3-module","fetch","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-fetch/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"dist/d3-fetch.js","module":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-fetch.git"},"scripts":{"pretest":"rm -rf dist && mkdir dist && rollup -c --banner \"$(preamble)\"","test":"tape 'test/**/*-test.js'","prepublishOnly":"npm run test && uglifyjs -b beautify=false,preamble=\"'$(preamble)'\" dist/d3-fetch.js -c -m -o dist/d3-fetch.min.js","postpublish":"git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-fetch/dist/d3-fetch.js d3-fetch.v1.js && cp ../d3-fetch/dist/d3-fetch.min.js d3-fetch.v1.min.js && git add d3-fetch.v1.js d3-fetch.v1.min.js && git commit -m \"d3-fetch ${npm_package_version}\" && git push && cd - && zip -j dist/d3-fetch.zip -- LICENSE README.md dist/d3-fetch.js dist/d3-fetch.min.js"},"dependencies":{"d3-dsv":"1"},"devDependencies":{"eslint":"4","package-preamble":"0.1","rollup":"0.52","tape":"4","uglify-js":"3.2"},"gitHead":"1aa1f9210e0159a60f578e355c74c9c1a70f1a62","bugs":{"url":"https://github.com/d3/d3-fetch/issues"},"_id":"d3-fetch@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"mbostock","email":"mike@ocks.org"},"dist":{"shasum":"c09886859231c8a4282d9ce9562e46d220347126","size":4674,"noattachment":false,"key":"/d3-fetch/-/d3-fetch-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-fetch/download/d3-fetch-1.0.0.tgz"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"},{"name":"recifs","email":"fil@rezo.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/d3-fetch-1.0.0.tgz_1517161903097_0.2981660000514239"},"directories":{},"publish_time":1517161903229,"_hasShrinkwrap":false,"_cnpm_publish_time":1517161903229},"0.1.0":{"name":"d3-fetch","version":"0.1.0","description":"Convenient parsing for Fetch.","keywords":["d3","d3-module","fetch","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-fetch/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"dist/d3-fetch.js","module":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-fetch.git"},"scripts":{"pretest":"rm -rf dist && mkdir dist && rollup -c --banner \"$(preamble)\"","test":"tape 'test/**/*-test.js'","prepublishOnly":"npm run test && uglifyjs -b beautify=false,preamble=\"'$(preamble)'\" dist/d3-fetch.js -c -m -o dist/d3-fetch.min.js","postpublish":"git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-fetch/dist/d3-fetch.js d3-fetch.v0.js && cp ../d3-fetch/dist/d3-fetch.min.js d3-fetch.v0.min.js && git add d3-fetch.v0.js d3-fetch.v0.min.js && git commit -m \"d3-fetch ${npm_package_version}\" && git push && cd - && zip -j dist/d3-fetch.zip -- LICENSE README.md dist/d3-fetch.js dist/d3-fetch.min.js"},"dependencies":{"d3-dsv":"1"},"devDependencies":{"eslint":"4","package-preamble":"0.1","rollup":"0.52","tape":"4","uglify-js":"3"},"gitHead":"178849b082c5d3e6bfe92c7cef6cb66d4b325729","bugs":{"url":"https://github.com/d3/d3-fetch/issues"},"_id":"d3-fetch@0.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"mbostock","email":"mike@ocks.org"},"dist":{"shasum":"8328acb54e2babb8078578a1c408c07cbb0c822f","size":4216,"noattachment":false,"key":"/d3-fetch/-/d3-fetch-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-fetch/download/d3-fetch-0.1.0.tgz"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"},{"name":"recifs","email":"fil@rezo.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/d3-fetch-0.1.0.tgz_1511906798404_0.8807929086033255"},"directories":{},"publish_time":1511906798903,"_cnpm_publish_time":1511906798903,"_hasShrinkwrap":false},"0.0.2":{"name":"d3-fetch","version":"0.0.2","description":"Convenient parsing for Fetch.","keywords":["d3","d3-module","fetch","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-fetch/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"dist/d3-fetch.js","module":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-fetch.git"},"scripts":{"pretest":"rm -rf dist && mkdir dist && rollup --banner \"$(preamble)\" -f umd -g d3-dsv:d3 -n d3 -o dist/d3-fetch.js -- index.js","test":"tape 'test/**/*-test.js'","prepublish":"npm run test && uglifyjs --preamble \"$(preamble)\" dist/d3-fetch.js -c -m -o dist/d3-fetch.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-fetch/dist/d3-fetch.js d3-fetch.v0.js && cp ../d3-fetch/dist/d3-fetch.min.js d3-fetch.v0.min.js && git add d3-fetch.v0.js d3-fetch.v0.min.js && git commit -m \"d3-fetch ${VERSION}\" && git push && cd - && zip -j dist/d3-fetch.zip -- LICENSE README.md dist/d3-fetch.js dist/d3-fetch.min.js"},"dependencies":{"d3-dsv":"1"},"devDependencies":{"eslint":"3","package-preamble":"0.0","rollup":"0.36","tape":"4","uglify-js":"2"},"gitHead":"b15effce5a0b10bd0c1ca9c5a3ce6bc8a3f0f310","bugs":{"url":"https://github.com/d3/d3-fetch/issues"},"_id":"d3-fetch@0.0.2","_shasum":"a464e9e831973fc15468b7b364ca053917b943b8","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"},{"name":"recifs","email":"fil@rezo.net"}],"dist":{"shasum":"a464e9e831973fc15468b7b364ca053917b943b8","size":3868,"noattachment":false,"key":"/d3-fetch/-/d3-fetch-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-fetch/download/d3-fetch-0.0.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/d3-fetch-0.0.2.tgz_1477345483923_0.8725431677885354"},"directories":{},"publish_time":1477345484252,"_cnpm_publish_time":1477345484252,"_hasShrinkwrap":false},"0.0.1":{"name":"d3-fetch","version":"0.0.1","description":"Convenient parsing for Fetch.","keywords":["d3","d3-module","fetch","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-fetch/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"dist/d3-fetch.js","module":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-fetch.git"},"scripts":{"pretest":"rm -rf dist && mkdir dist && rollup --banner \"$(preamble)\" -f umd -g d3-dsv:d3 -n d3 -o dist/d3-fetch.js -- index.js","test":"tape 'test/**/*-test.js'","prepublish":"npm run test && uglifyjs --preamble \"$(preamble)\" dist/d3-fetch.js -c -m -o dist/d3-fetch.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-fetch/dist/d3-fetch.js d3-fetch.v0.js && cp ../d3-fetch/dist/d3-fetch.min.js d3-fetch.v0.min.js && git add d3-fetch.v0.js d3-fetch.v0.min.js && git commit -m \"d3-fetch ${VERSION}\" && git push && cd - && zip -j dist/d3-fetch.zip -- LICENSE README.md dist/d3-fetch.js dist/d3-fetch.min.js"},"dependencies":{"d3-dsv":"1"},"devDependencies":{"eslint":"3","package-preamble":"0.0","rollup":"0.36","tape":"4","uglify-js":"2"},"gitHead":"634bc85315ea8b7090bb0ca253f3cbc97af44836","bugs":{"url":"https://github.com/d3/d3-fetch/issues"},"_id":"d3-fetch@0.0.1","_shasum":"12facddf474eb0573c2f805882e4d8fb7fc5a2f8","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.7.0","_npmUser":{"name":"mbostock","email":"mike@ocks.org"},"dist":{"shasum":"12facddf474eb0573c2f805882e4d8fb7fc5a2f8","size":3534,"noattachment":false,"key":"/d3-fetch/-/d3-fetch-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-fetch/download/d3-fetch-0.0.1.tgz"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"},{"name":"recifs","email":"fil@rezo.net"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/d3-fetch-0.0.1.tgz_1477149851790_0.6977172372862697"},"directories":{},"publish_time":1477149852022,"_cnpm_publish_time":1477149852022,"_hasShrinkwrap":false}},"readme":"# d3-fetch\n\nThis module provides convenient parsing on top of [Fetch](https://fetch.spec.whatwg.org/). For example, to load a text file:\n\n```js\nconst text = await d3.text(\"/path/to/file.txt\");\nconsole.log(text); // Hello, world!\n```\n\nTo load and parse a CSV file:\n\n```js\nconst data = await d3.csv(\"/path/to/file.csv\");\nconsole.log(data); // [{\"Hello\": \"world\"}, …]\n```\n\nThis module has built-in support for parsing [JSON](#json), [CSV](#csv), and [TSV](#tsv). You can parse additional formats by using [text](#text) directly. (This module replaced [d3-request](https://github.com/d3/d3-request).)\n\n## Installing\n\nIf you use npm, `npm install d3-fetch`. You can also download the [latest release on GitHub](https://github.com/d3/d3-fetch/releases/latest). For vanilla HTML in modern browsers, import d3-fetch from Skypack:\n\n```html\n<script type=\"module\">\n\nimport {csv} from \"https://cdn.skypack.dev/d3-fetch@3\";\n\ncsv(\"/path/to/file.csv\").then((data) => {\n  console.log(data); // [{\"Hello\": \"world\"}, …]\n});\n\n</script>\n```\n\nFor legacy environments, you can load d3-fetch’s UMD bundle from an npm-based CDN such as jsDelivr; a `d3` global is exported:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/d3-fetch@3\"></script>\n<script>\n\nd3.csv(\"/path/to/file.csv\").then((data) => {\n  console.log(data); // [{\"Hello\": \"world\"}, …]\n});\n\n</script>\n```\n\n## API Reference\n\n<a name=\"blob\" href=\"#blob\">#</a> d3.<b>blob</b>(<i>input</i>[, <i>init</i>]) · [Source](https://github.com/d3/d3-fetch/blob/master/src/blob.js \"Source\")\n\nFetches the binary file at the specified *input* URL as a Blob. If *init* is specified, it is passed along to the underlying call to [fetch](https://fetch.spec.whatwg.org/#fetch-method); see [RequestInit](https://fetch.spec.whatwg.org/#requestinit) for allowed fields.\n\n<a name=\"buffer\" href=\"#buffer\">#</a> d3.<b>buffer</b>(<i>input</i>[, <i>init</i>]) · [Source](https://github.com/d3/d3-fetch/blob/master/src/buffer.js \"Source\")\n\nFetches the binary file at the specified *input* URL as an ArrayBuffer. If *init* is specified, it is passed along to the underlying call to [fetch](https://fetch.spec.whatwg.org/#fetch-method); see [RequestInit](https://fetch.spec.whatwg.org/#requestinit) for allowed fields.\n\n<a name=\"csv\" href=\"#csv\">#</a> d3.<b>csv</b>(<i>input</i>[, <i>init</i>][, <i>row</i>]) · [Source](https://github.com/d3/d3-fetch/blob/master/src/dsv.js \"Source\")\n\nEquivalent to [d3.dsv](#dsv) with the comma character as the delimiter.\n\n<a name=\"dsv\" href=\"#dsv\">#</a> d3.<b>dsv</b>(<i>delimiter</i>, <i>input</i>[, <i>init</i>][, <i>row</i>]) · [Source](https://github.com/d3/d3-fetch/blob/master/src/dsv.js \"Source\")\n\nFetches the [DSV](https://github.com/d3/d3-dsv) file at the specified *input* URL. If *init* is specified, it is passed along to the underlying call to [fetch](https://fetch.spec.whatwg.org/#fetch-method); see [RequestInit](https://fetch.spec.whatwg.org/#requestinit) for allowed fields. An optional *row* conversion function may be specified to map and filter row objects to a more-specific representation; see [*dsv*.parse](https://github.com/d3/d3-dsv#dsv_parse) for details. For example:\n\n```js\nconst data = await d3.dsv(\",\", \"test.csv\", (d) => {\n  return {\n    year: new Date(+d.Year, 0, 1), // convert \"Year\" column to Date\n    make: d.Make,\n    model: d.Model,\n    length: +d.Length // convert \"Length\" column to number\n  };\n});\n```\n\nIf only one of *init* and *row* is specified, it is interpreted as the *row* conversion function if it is a function, and otherwise an *init* object.\n\nSee also [d3.csv](#csv) and [d3.tsv](#tsv).\n\n<a name=\"html\" href=\"#html\">#</a> d3.<b>html</b>(<i>input</i>[, <i>init</i>]) · [Source](https://github.com/d3/d3-fetch/blob/master/src/xml.js \"Source\")\n\nFetches the file at the specified *input* URL as [text](#text) and then [parses it](https://developer.mozilla.org/docs/Web/API/DOMParser) as HTML. If *init* is specified, it is passed along to the underlying call to [fetch](https://fetch.spec.whatwg.org/#fetch-method); see [RequestInit](https://fetch.spec.whatwg.org/#requestinit) for allowed fields.\n\n<a name=\"image\" href=\"#image\">#</a> d3.<b>image</b>(<i>input</i>[, <i>init</i>]) · [Source](https://github.com/d3/d3-fetch/blob/master/src/image.js \"Source\")\n\nFetches the image at the specified *input* URL. If *init* is specified, sets any additional properties on the image before loading. For example, to enable an anonymous [cross-origin request](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image):\n\n```js\nconst img = await d3.image(\"https://example.com/test.png\", {crossOrigin: \"anonymous\"});\n```\n\n<a name=\"json\" href=\"#json\">#</a> d3.<b>json</b>(<i>input</i>[, <i>init</i>]) · [Source](https://github.com/d3/d3-fetch/blob/master/src/json.js \"Source\")\n\nFetches the [JSON](http://json.org) file at the specified *input* URL. If *init* is specified, it is passed along to the underlying call to [fetch](https://fetch.spec.whatwg.org/#fetch-method); see [RequestInit](https://fetch.spec.whatwg.org/#requestinit) for allowed fields. If the server returns a status code of [204 No Content](https://developer.mozilla.org/docs/Web/HTTP/Status/204) or [205 Reset Content](https://developer.mozilla.org/docs/Web/HTTP/Status/205), the promise resolves to `undefined`.\n\n<a name=\"svg\" href=\"#svg\">#</a> d3.<b>svg</b>(<i>input</i>[, <i>init</i>]) · [Source](https://github.com/d3/d3-fetch/blob/master/src/xml.js \"Source\")\n\nFetches the file at the specified *input* URL as [text](#text) and then [parses it](https://developer.mozilla.org/docs/Web/API/DOMParser) as SVG. If *init* is specified, it is passed along to the underlying call to [fetch](https://fetch.spec.whatwg.org/#fetch-method); see [RequestInit](https://fetch.spec.whatwg.org/#requestinit) for allowed fields.\n\n<a name=\"text\" href=\"#text\">#</a> d3.<b>text</b>(<i>input</i>[, <i>init</i>]) · [Source](https://github.com/d3/d3-fetch/blob/master/src/text.js \"Source\")\n\nFetches the text file at the specified *input* URL. If *init* is specified, it is passed along to the underlying call to [fetch](https://fetch.spec.whatwg.org/#fetch-method); see [RequestInit](https://fetch.spec.whatwg.org/#requestinit) for allowed fields.\n\n<a name=\"tsv\" href=\"#tsv\">#</a> d3.<b>tsv</b>(<i>input</i>[, <i>init</i>][, <i>row</i>]) · [Source](https://github.com/d3/d3-fetch/blob/master/src/dsv.js \"Source\")\n\nEquivalent to [d3.dsv](#dsv) with the tab character as the delimiter.\n\n<a name=\"xml\" href=\"#xml\">#</a> d3.<b>xml</b>(<i>input</i>[, <i>init</i>]) · [Source](https://github.com/d3/d3-fetch/blob/master/src/xml.js \"Source\")\n\nFetches the file at the specified *input* URL as [text](#text) and then [parses it](https://developer.mozilla.org/docs/Web/API/DOMParser) as XML. If *init* is specified, it is passed along to the underlying call to [fetch](https://fetch.spec.whatwg.org/#fetch-method); see [RequestInit](https://fetch.spec.whatwg.org/#requestinit) for allowed fields.\n","_attachments":{},"homepage":"https://d3js.org/d3-fetch/","bugs":{"url":"https://github.com/d3/d3-fetch/issues"},"license":"ISC"}