{"_id":"d3-request","_rev":"403577","name":"d3-request","description":"A convenient alternative to XMLHttpRequest.","dist-tags":{"latest":"1.0.6"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"time":{"modified":"2021-08-04T04:40:11.000Z","created":"2015-11-07T04:18:41.819Z","1.0.6":"2017-09-02T21:53:43.300Z","1.0.5":"2017-03-10T17:50:56.581Z","1.0.4":"2017-02-28T17:15:41.839Z","1.0.3":"2016-11-23T00:46:03.474Z","1.0.2":"2016-08-02T21:34:03.235Z","1.0.1":"2016-07-11T02:31:44.246Z","1.0.0":"2016-06-15T17:57:49.214Z","0.5.0":"2016-06-08T01:02:45.452Z","0.4.7":"2016-05-20T21:23:45.727Z","0.4.6":"2016-05-03T18:28:21.417Z","0.4.5":"2016-03-01T21:54:29.491Z","0.4.4":"2016-02-23T04:14:22.295Z","0.4.3":"2016-02-18T00:14:32.408Z","0.4.2":"2016-02-09T21:24:14.768Z","0.4.1":"2016-02-05T00:17:50.085Z","0.4.0":"2016-02-04T21:19:45.618Z","0.3.2":"2016-01-29T18:31:02.236Z","0.3.1":"2016-01-22T22:51:47.925Z","0.3.0":"2016-01-07T23:35:18.655Z","0.2.6":"2016-01-07T20:36:46.925Z","0.2.5":"2016-01-05T17:44:08.329Z","0.2.4":"2015-12-18T20:05:42.520Z","0.2.3":"2015-12-02T00:38:22.628Z","0.2.2":"2015-11-28T17:05:57.083Z","0.2.1":"2015-11-11T19:23:27.086Z","0.2.0":"2015-11-07T04:18:41.819Z"},"users":{"jaxelson":true,"uptonking":true},"author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"versions":{"1.0.6":{"name":"d3-request","version":"1.0.6","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","d3-module","request","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-request/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.node.js","unpkg":"build/d3-request.js","jsdelivr":"build/d3-request.js","module":"index","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"rm -rf build && mkdir build && bin/rollup-node && rollup -c --banner \"$(preamble)\"","test":"tape 'test/**/*-test.js' && eslint index.js src","prepublishOnly":"npm run test && uglifyjs -b beautify=false,preamble=\"'$(preamble)'\" build/d3-request.js -c -m -o build/d3-request.min.js","postpublish":"git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-request/build/d3-request.js d3-request.v1.js && cp ../d3-request/build/d3-request.min.js d3-request.v1.min.js && git add d3-request.v1.js d3-request.v1.min.js && git commit -m \"d3-request ${npm_package_version}\" && git push && cd - && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-collection":"1","d3-dispatch":"1","d3-dsv":"1","xmlhttprequest":"1"},"devDependencies":{"eslint":"4","package-preamble":"0.1","rollup":"0.49","tape":"4","uglify-js":"3"},"gitHead":"38567dcc5dc7050a6294f8e1f807e9eb1e790cbe","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@1.0.6","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"mbostock","email":"mike@ocks.org"},"dist":{"shasum":"a1044a9ef4ec28c824171c9379fae6d79474b19f","size":9738,"noattachment":false,"key":"/d3-request/-/d3-request-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-1.0.6.tgz"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/d3-request-1.0.6.tgz_1504389223110_0.09349322295747697"},"directories":{},"publish_time":1504389223300,"_hasShrinkwrap":false,"_cnpm_publish_time":1504389223300},"1.0.5":{"name":"d3-request","version":"1.0.5","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","d3-module","request","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-request/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.node.js","browser":"build/d3-request.js","module":"index","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"rm -rf build && mkdir build && bin/rollup-node && rollup --banner \"$(preamble)\" -f umd -g d3-collection:d3,d3-dispatch:d3,d3-dsv:d3 -n d3 -o build/d3-request.js -- index.js","test":"tape 'test/**/*-test.js' && eslint index.js src","prepublish":"npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-request.js -c -m -o build/d3-request.min.js","postpublish":"git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-request/build/d3-request.js d3-request.v1.js && cp ../d3-request/build/d3-request.min.js d3-request.v1.min.js && git add d3-request.v1.js d3-request.v1.min.js && git commit -m \"d3-request ${npm_package_version}\" && git push && cd - && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-collection":"1","d3-dispatch":"1","d3-dsv":"1","xmlhttprequest":"1"},"devDependencies":{"eslint":"3","package-preamble":"0.0","rollup":"0.41","tape":"4","uglify-js":"^2.8.11"},"gitHead":"04e4363a2a8de76334ec4706c44b7840c382745e","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@1.0.5","_shasum":"4daae946d1dd0d57dfe01f022956354958d51f23","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.3.0","_npmUser":{"name":"mbostock","email":"mike@ocks.org"},"dist":{"shasum":"4daae946d1dd0d57dfe01f022956354958d51f23","size":9597,"noattachment":false,"key":"/d3-request/-/d3-request-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-1.0.5.tgz"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/d3-request-1.0.5.tgz_1489168256354_0.18600909458473325"},"directories":{},"publish_time":1489168256581,"_cnpm_publish_time":1489168256581,"_hasShrinkwrap":false},"1.0.4":{"name":"d3-request","version":"1.0.4","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","d3-module","request","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-request/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.node.js","browser":"build/d3-request.js","module":"index","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"rm -rf build && mkdir build && bin/rollup-node && rollup --banner \"$(preamble)\" -f umd -g d3-collection:d3,d3-dispatch:d3,d3-dsv:d3 -n d3 -o build/d3-request.js -- index.js","test":"tape 'test/**/*-test.js' && eslint index.js src","prepublish":"npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-request.js -c -m -o build/d3-request.min.js","postpublish":"git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-request/build/d3-request.js d3-request.v1.js && cp ../d3-request/build/d3-request.min.js d3-request.v1.min.js && git add d3-request.v1.js d3-request.v1.min.js && git commit -m \"d3-request ${npm_package_version}\" && git push && cd - && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-collection":"1","d3-dispatch":"1","d3-dsv":"1","xmlhttprequest":"1"},"devDependencies":{"eslint":"3","package-preamble":"0.0","rollup":"0.41","tape":"4","uglify-js":"2"},"gitHead":"a6d8eaeca229af709228b4a387f3c2947fc78a3f","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@1.0.4","_shasum":"e04f559644f98639af24d75f8fcf99e3d27f1f53","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.3.0","_npmUser":{"name":"mbostock","email":"mike@ocks.org"},"dist":{"shasum":"e04f559644f98639af24d75f8fcf99e3d27f1f53","size":9589,"noattachment":false,"key":"/d3-request/-/d3-request-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-1.0.4.tgz"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/d3-request-1.0.4.tgz_1488302140113_0.6334722961764783"},"directories":{},"publish_time":1488302141839,"_cnpm_publish_time":1488302141839,"_hasShrinkwrap":false},"1.0.3":{"name":"d3-request","version":"1.0.3","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","d3-module","request","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-request/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.node.js","browser":"build/d3-request.js","module":"index","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"rm -rf build && mkdir build && bin/rollup-node && rollup --banner \"$(preamble)\" -f umd -g d3-collection:d3,d3-dispatch:d3,d3-dsv:d3 -n d3 -o build/d3-request.js -- index.js","test":"tape 'test/**/*-test.js' && eslint index.js src","prepublish":"npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-request.js -c -m -o build/d3-request.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-request/build/d3-request.js d3-request.v1.js && cp ../d3-request/build/d3-request.min.js d3-request.v1.min.js && git add d3-request.v1.js d3-request.v1.min.js && git commit -m \"d3-request ${VERSION}\" && git push && cd - && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-collection":"1","d3-dispatch":"1","d3-dsv":"1","xmlhttprequest":"1"},"devDependencies":{"eslint":"3","package-preamble":"0.0","rollup":"0.36","tape":"4","uglify-js":"2"},"gitHead":"5de11e5f490b24cade3a3ceda040677ef8e98c75","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@1.0.3","_shasum":"63fc7dfd784607db0df5d535d7cb898fceba755a","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"63fc7dfd784607db0df5d535d7cb898fceba755a","size":9487,"noattachment":false,"key":"/d3-request/-/d3-request-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-1.0.3.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/d3-request-1.0.3.tgz_1479861963244_0.3231145248282701"},"directories":{},"publish_time":1479861963474,"_cnpm_publish_time":1479861963474,"_hasShrinkwrap":false},"1.0.2":{"name":"d3-request","version":"1.0.2","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","d3-module","request","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-request/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.node.js","browser":"build/d3-request.js","module":"index","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"rm -rf build && mkdir build && bin/rollup-node && rollup --banner \"$(preamble)\" -f umd -g d3-collection:d3,d3-dispatch:d3,d3-dsv:d3 -n d3 -o build/d3-request.js -- index.js","test":"tape 'test/**/*-test.js' && eslint index.js src","prepublish":"npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-request.js -c -m -o build/d3-request.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-request/build/d3-request.js d3-request.v1.js && cp ../d3-request/build/d3-request.min.js d3-request.v1.min.js && git add d3-request.v1.js d3-request.v1.min.js && git commit -m \"d3-request ${VERSION}\" && git push && cd - && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-collection":"1","d3-dispatch":"1","d3-dsv":"1","xmlhttprequest":"1"},"devDependencies":{"eslint":"2","package-preamble":"0.0","rollup":"0.34","tape":"4","uglify-js":"2"},"gitHead":"7f52bda496100406497d2669c44b34e9604eca31","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@1.0.2","_shasum":"98083736d4146fdd28703b5aa8ef7e7328ba3f69","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"98083736d4146fdd28703b5aa8ef7e7328ba3f69","size":9807,"noattachment":false,"key":"/d3-request/-/d3-request-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-1.0.2.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/d3-request-1.0.2.tgz_1470173640815_0.615340527612716"},"directories":{},"publish_time":1470173643235,"_cnpm_publish_time":1470173643235,"_hasShrinkwrap":false},"1.0.1":{"name":"d3-request","version":"1.0.1","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","d3-module","request","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-request/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.node.js","browser":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"rm -rf build && mkdir build && bin/rollup-node && rollup --banner \"$(preamble)\" -f umd -g d3-collection:d3,d3-dispatch:d3,d3-dsv:d3 -n d3 -o build/d3-request.js -- index.js","test":"tape 'test/**/*-test.js' && eslint index.js src","prepublish":"npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-request.js -c -m -o build/d3-request.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-request/build/d3-request.js d3-request.v1.js && cp ../d3-request/build/d3-request.min.js d3-request.v1.min.js && git add d3-request.v1.js d3-request.v1.min.js && git commit -m \"d3-request ${VERSION}\" && git push && cd - && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-collection":"1","d3-dispatch":"1","d3-dsv":"1","xmlhttprequest":"1"},"devDependencies":{"eslint":"2","package-preamble":"0.0","rollup":"0.33","tape":"4","uglify-js":"2"},"gitHead":"637baa4222bf5f5028a4c894b4b0a3b3e0f6e833","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@1.0.1","_shasum":"b4c58d79286fb846a1254c882514b6671939b1f1","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"mbostock","email":"mike@ocks.org"},"dist":{"shasum":"b4c58d79286fb846a1254c882514b6671939b1f1","size":9752,"noattachment":false,"key":"/d3-request/-/d3-request-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-1.0.1.tgz"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/d3-request-1.0.1.tgz_1468204302156_0.1738643345888704"},"directories":{},"publish_time":1468204304246,"_cnpm_publish_time":1468204304246,"_hasShrinkwrap":false},"1.0.0":{"name":"d3-request","version":"1.0.0","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","d3-module","request","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-request/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.node.js","browser":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"rm -rf build && mkdir build && bin/rollup-node && rollup --banner \"$(preamble)\" -f umd -g d3-collection:d3,d3-dispatch:d3,d3-dsv:d3 -n d3 -o build/d3-request.js -- index.js","test":"tape 'test/**/*-test.js' && eslint index.js src","prepublish":"npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-request.js -c -m -o build/d3-request.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-request.js ../d3.github.com/d3-request.v1.js && cp build/d3-request.min.js ../d3.github.com/d3-request.v1.min.js && cd ../d3.github.com && git add d3-request.v1.js d3-request.v1.min.js && git commit -m \"d3-request ${VERSION}\" && git push && cd - && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-collection":"1","d3-dispatch":"1","d3-dsv":"1","xmlhttprequest":"1"},"devDependencies":{"eslint":"2","package-preamble":"0.0","rollup":"0.31","tape":"4","uglify-js":"2"},"gitHead":"9d9d5db53483b88c9d4c8a6a3eb82117fc7d4512","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@1.0.0","_shasum":"abb2bbc86c386904df318d300089857986eaeddf","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"abb2bbc86c386904df318d300089857986eaeddf","size":9723,"noattachment":false,"key":"/d3-request/-/d3-request-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/d3-request-1.0.0.tgz_1466013468552_0.37381820217706263"},"directories":{},"publish_time":1466013469214,"_cnpm_publish_time":1466013469214,"_hasShrinkwrap":false},"0.5.0":{"name":"d3-request","version":"0.5.0","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://d3js.org/d3-request/","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.node.js","browser":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"rm -rf build && mkdir build && bin/rollup-node && rollup --banner \"$(preamble)\" -f umd -g d3-collection:d3,d3-dispatch:d3,d3-dsv:d3 -n d3 -o build/d3-request.js -- index.js","test":"tape 'test/**/*-test.js' && eslint index.js src","prepublish":"npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-request.js -c -m -o build/d3-request.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-request.js ../d3.github.com/d3-request.v0.5.js && cp build/d3-request.min.js ../d3.github.com/d3-request.v0.5.min.js && cd ../d3.github.com && git add d3-request.v0.5.js d3-request.v0.5.min.js && git commit -m \"d3-request ${VERSION}\" && git push && cd - && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-collection":"~0.3.0","d3-dispatch":"~0.5.0","d3-dsv":"~0.4.0","xmlhttprequest":"1"},"devDependencies":{"eslint":"2","package-preamble":"0.0","rollup":"0.27","tape":"4","uglify-js":"2"},"gitHead":"0e72de36c761cc3be6ba60d932d61df8affb4081","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.5.0","_shasum":"f1a9db6213be3e560649c069720d35c9e1f4f741","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"f1a9db6213be3e560649c069720d35c9e1f4f741","size":9714,"noattachment":false,"key":"/d3-request/-/d3-request-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.5.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/d3-request-0.5.0.tgz_1465347763545_0.14452577312476933"},"directories":{},"publish_time":1465347765452,"_cnpm_publish_time":1465347765452,"_hasShrinkwrap":false},"0.4.7":{"name":"d3-request","version":"0.4.7","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.node.js","browser":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"rm -rf build && mkdir build && json2module package.json > build/package.js && bin/rollup-node && rollup -f umd -g d3-collection:d3_collection,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -n d3_request -o build/d3-request.js -- index.js","test":"tape 'test/**/*-test.js' && eslint index.js src","prepublish":"npm run test && uglifyjs build/d3-request.js -c -m -o build/d3-request.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-request.js ../d3.github.com/d3-request.v0.4.js && cp build/d3-request.min.js ../d3.github.com/d3-request.v0.4.min.js && cd ../d3.github.com && git add d3-request.v0.4.js d3-request.v0.4.min.js && git commit -m \"d3-request ${VERSION}\" && git push && cd - && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-collection":"~0.2.0","d3-dispatch":"~0.4.0","d3-dsv":"~0.3.0","xmlhttprequest":"1"},"devDependencies":{"eslint":"2","json2module":"0.0","rollup":"0.26","tape":"4","uglify-js":"2"},"gitHead":"6e0fab0179c8c50e4d25204af54f0446c287acff","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.4.7","_shasum":"ff1e8d6a172e2699615dbadde9b2e19e80ba8529","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"ff1e8d6a172e2699615dbadde9b2e19e80ba8529","size":10299,"noattachment":false,"key":"/d3-request/-/d3-request-0.4.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.4.7.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/d3-request-0.4.7.tgz_1463779424661_0.9329378630500287"},"directories":{},"publish_time":1463779425727,"_cnpm_publish_time":1463779425727,"_hasShrinkwrap":false},"0.4.6":{"name":"d3-request","version":"0.4.6","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.node.js","browser":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"rm -rf build && mkdir build && json2module package.json > build/package.js && bin/rollup-node && rollup -f umd -g d3-collection:d3_collection,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -n d3_request -o build/d3-request.js -- index.js","test":"tape 'test/**/*-test.js' && eslint index.js src","prepublish":"npm run test && uglifyjs build/d3-request.js -c -m -o build/d3-request.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-request.js ../d3.github.com/d3-request.v0.4.js && cp build/d3-request.min.js ../d3.github.com/d3-request.v0.4.min.js && cd ../d3.github.com && git add d3-request.v0.4.js d3-request.v0.4.min.js && git commit -m \"d3-request ${VERSION}\" && git push && cd - && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-collection":"~0.1.1","d3-dispatch":"~0.4.0","d3-dsv":"~0.3.0","xmlhttprequest":"1"},"devDependencies":{"json2module":"0.0","rollup":"0.26","tape":"4","uglify-js":"2"},"gitHead":"5745ebdf5c0889b4c73a88cbfaca18ee1cf1cb70","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.4.6","_shasum":"0d57e37aa69b6fc496e773b2f266a92f1daeb153","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"0d57e37aa69b6fc496e773b2f266a92f1daeb153","size":10296,"noattachment":false,"key":"/d3-request/-/d3-request-0.4.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.4.6.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/d3-request-0.4.6.tgz_1462300099241_0.674984731245786"},"directories":{},"publish_time":1462300101417,"_cnpm_publish_time":1462300101417,"_hasShrinkwrap":false},"0.4.5":{"name":"d3-request","version":"0.4.5","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.node.js","browser":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"export var version = \\\"\" + require(\"./package.json\").version + \"\\\";\\n\");' > build/version.js && rollup -f umd -g d3-collection:d3_collection,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -n d3_request -o build/d3-request.js -- index.js && echo \"'use strict';\\n\\nvar XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest;\" > build/d3-request.node.js && rollup -f cjs -g d3-collection:d3_collection,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -- index.js | tail -n+3 >> build/d3-request.node.js","test":"faucet `find test -name '*-test.js'` && eslint index.js src","prepublish":"npm run test && uglifyjs build/d3-request.js -c -m -o build/d3-request.min.js && rm -f build/d3-request.zip && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-request.js ../d3.github.com/d3-request.v0.4.js && cp build/d3-request.min.js ../d3.github.com/d3-request.v0.4.min.js && cd ../d3.github.com && git add d3-request.v0.4.js d3-request.v0.4.min.js && git commit -m \"d3-request ${VERSION}\" && git push"},"dependencies":{"d3-collection":"~0.1.1","d3-dispatch":"~0.4.0","d3-dsv":"~0.3.0","xmlhttprequest":"1"},"devDependencies":{"faucet":"0.0","rollup":"0.25","tape":"4","uglify-js":"2"},"gitHead":"4a09f8be096e6bfb08463bbb86fd112d04d22db8","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.4.5","_shasum":"c2510816c938c3cab6e91df853d9aafc8790efe1","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"c2510816c938c3cab6e91df853d9aafc8790efe1","size":9294,"noattachment":false,"key":"/d3-request/-/d3-request-0.4.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.4.5.tgz"},"_npmOperationalInternal":{"host":"packages-11-east.internal.npmjs.com","tmp":"tmp/d3-request-0.4.5.tgz_1456869267422_0.5132720428518951"},"directories":{},"publish_time":1456869269491,"_cnpm_publish_time":1456869269491,"_hasShrinkwrap":false},"0.4.4":{"name":"d3-request","version":"0.4.4","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.node.js","browser":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-collection:d3_collection,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -n d3_request -o build/d3-request.js -- build/bundle.js && echo \"'use strict';\n\nvar XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest;\" > build/d3-request.node.js && rollup -f cjs -g d3-collection:d3_collection,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -- build/bundle.js | tail -n+3 >> build/d3-request.node.js","test":"faucet `find test -name '*-test.js'` && eslint index.js src","prepublish":"npm run test && uglifyjs build/d3-request.js -c -m -o build/d3-request.min.js && rm -f build/d3-request.zip && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-request.js ../d3.github.com/d3-request.v0.4.js && cp build/d3-request.min.js ../d3.github.com/d3-request.v0.4.min.js && cd ../d3.github.com && git add d3-request.v0.4.js d3-request.v0.4.min.js && git commit -m \"d3-request ${VERSION}\" && git push"},"dependencies":{"d3-collection":"~0.1.1","d3-dispatch":"~0.4.0","d3-dsv":"~0.3.0","xmlhttprequest":"1"},"devDependencies":{"faucet":"0.0","rollup":"0.25","tape":"4","uglify-js":"2"},"gitHead":"1e80705b566e858c4b6d7dfce255c04c04cacfa1","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.4.4","_shasum":"bd271933e53e1d8d4e7752005666cf35ef3fe442","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"bd271933e53e1d8d4e7752005666cf35ef3fe442","size":8970,"noattachment":false,"key":"/d3-request/-/d3-request-0.4.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.4.4.tgz"},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/d3-request-0.4.4.tgz_1456200858987_0.18447822402231395"},"directories":{},"publish_time":1456200862295,"_cnpm_publish_time":1456200862295,"_hasShrinkwrap":false},"0.4.3":{"name":"d3-request","version":"0.4.3","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.node.js","browser":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-collection:d3_collection,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -n d3_request -o build/d3-request.js -- build/bundle.js && echo \"'use strict';\n\nvar XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest;\" > build/d3-request.node.js && rollup -f cjs -g d3-collection:d3_collection,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -- build/bundle.js | tail -n+3 >> build/d3-request.node.js","test":"faucet `find test -name '*-test.js'` && eslint index.js src","prepublish":"npm run test && uglifyjs build/d3-request.js -c -m -o build/d3-request.min.js && rm -f build/d3-request.zip && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git tag -am \"Release $VERSION.\" v${VERSION} && git push --tags && cp build/d3-request.js ../d3.github.com/d3-request.v0.4.js && cp build/d3-request.min.js ../d3.github.com/d3-request.v0.4.min.js && cd ../d3.github.com && git add d3-request.v0.4.js d3-request.v0.4.min.js && git commit -m \"d3-request ${VERSION}\" && git push"},"dependencies":{"d3-collection":"~0.1.1","d3-dispatch":"~0.4.0","d3-dsv":"~0.2.0","xmlhttprequest":"1"},"devDependencies":{"faucet":"0.0","rollup":"0.25","tape":"4","uglify-js":"2"},"gitHead":"853192d0b4734d3891ae3c67738389b855da5fbf","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.4.3","_shasum":"5495a3ad42c0ca76d11f1e1fbcad45406c2691eb","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.5.0","_npmUser":{"name":"mbostock","email":"mike@ocks.org"},"dist":{"shasum":"5495a3ad42c0ca76d11f1e1fbcad45406c2691eb","size":8963,"noattachment":false,"key":"/d3-request/-/d3-request-0.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.4.3.tgz"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/d3-request-0.4.3.tgz_1455754470189_0.8014509289059788"},"directories":{},"publish_time":1455754472408,"_cnpm_publish_time":1455754472408,"_hasShrinkwrap":false},"0.4.2":{"name":"d3-request","version":"0.4.2","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-collection:d3_collection,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -n d3_request -o build/d3-request.js -- build/bundle.js","test":"faucet `find test -name '*-test.js'` && eslint index.js src","prepublish":"npm run test && uglifyjs build/d3-request.js -c -m -o build/d3-request.min.js && rm -f build/d3-request.zip && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git tag -am \"Release $VERSION.\" v${VERSION} && git push --tags && cp build/d3-request.js ../d3.github.com/d3-request.v0.4.js && cp build/d3-request.min.js ../d3.github.com/d3-request.v0.4.min.js && cd ../d3.github.com && git add d3-request.v0.4.js d3-request.v0.4.min.js && git commit -m \"d3-request ${VERSION}\" && git push"},"dependencies":{"d3-collection":"~0.1.1","d3-dispatch":"~0.4.0","d3-dsv":"~0.2.0"},"devDependencies":{"faucet":"0.0","rollup":"0.25","tape":"4","uglify-js":"2"},"gitHead":"5979938506704585b4b79b03a804a15c32b29ed1","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.4.2","_shasum":"9dfd75a1403ac93950f3fa936678beb4b349ab79","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.5.0","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"9dfd75a1403ac93950f3fa936678beb4b349ab79","size":8679,"noattachment":false,"key":"/d3-request/-/d3-request-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.4.2.tgz"},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/d3-request-0.4.2.tgz_1455053052213_0.7733080617617816"},"directories":{},"publish_time":1455053054768,"_cnpm_publish_time":1455053054768,"_hasShrinkwrap":false},"0.4.1":{"name":"d3-request","version":"0.4.1","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-collection:d3_collection,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -n d3_request -o build/d3-request.js -- build/bundle.js","test":"faucet `find test -name '*-test.js'` && eslint index.js src","prepublish":"npm run test && uglifyjs build/d3-request.js -c -m -o build/d3-request.min.js && rm -f build/d3-request.zip && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git tag -am \"Release $VERSION.\" v${VERSION} && git push --tags && cp build/d3-request.js ../d3.github.com/d3-request.v0.4.js && cp build/d3-request.min.js ../d3.github.com/d3-request.v0.4.min.js && cd ../d3.github.com && git add d3-request.v0.4.js d3-request.v0.4.min.js && git commit -m \"d3-request ${VERSION}\" && git push"},"dependencies":{"d3-collection":"~0.1.1","d3-dispatch":"~0.3.0","d3-dsv":"~0.2.0"},"devDependencies":{"faucet":"0.0","rollup":"0.25","tape":"4","uglify-js":"2"},"gitHead":"fae31174d147d4df0fc5fa33567b51dfc036e32b","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.4.1","_shasum":"90db5970bef055d1fbf6e218afb8ca6e9b1b358a","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.5.0","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"90db5970bef055d1fbf6e218afb8ca6e9b1b358a","size":8670,"noattachment":false,"key":"/d3-request/-/d3-request-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.4.1.tgz"},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/d3-request-0.4.1.tgz_1454631469563_0.5706625136081129"},"directories":{},"publish_time":1454631470085,"_cnpm_publish_time":1454631470085,"_hasShrinkwrap":false},"0.4.0":{"name":"d3-request","version":"0.4.0","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-collection:d3_collection,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -n d3_request -o build/d3-request.js -- build/bundle.js","test":"faucet `find test -name '*-test.js'` && eslint index.js src","prepublish":"npm run test && uglifyjs build/d3-request.js -c -m -o build/d3-request.min.js && rm -f build/d3-request.zip && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git tag -am \"Release $VERSION.\" v${VERSION} && git push --tags && cp build/d3-request.js ../d3.github.com/d3-request.v0.4.js && cp build/d3-request.min.js ../d3.github.com/d3-request.v0.4.min.js && cd ../d3.github.com && git add d3-request.v0.4.js d3-request.v0.4.min.js && git commit -m \"d3-request ${VERSION}\" && git push"},"dependencies":{"d3-collection":"~0.1.1","d3-dispatch":"~0.2.6","d3-dsv":"~0.2.0"},"devDependencies":{"faucet":"0.0","rollup":"0.25","tape":"4","uglify-js":"2"},"gitHead":"14717ea3c040829d19d181f257d9681c41367059","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.4.0","_shasum":"09a1369942faf3a036b8884f22f307f769c90b50","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.5.0","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"09a1369942faf3a036b8884f22f307f769c90b50","size":8668,"noattachment":false,"key":"/d3-request/-/d3-request-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.4.0.tgz"},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/d3-request-0.4.0.tgz_1454620783035_0.9020991884171963"},"directories":{},"publish_time":1454620785618,"_cnpm_publish_time":1454620785618,"_hasShrinkwrap":false},"0.3.2":{"name":"d3-request","version":"0.3.2","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-collection:d3_collection,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -n d3_request -o build/d3-request.js -- build/bundle.js","test":"faucet `find test -name '*-test.js'` && eslint index.js src","prepublish":"npm run test && uglifyjs build/d3-request.js -c -m -o build/d3-request.min.js && rm -f build/d3-request.zip && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js","postpublish":"VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git tag -am \"Release $VERSION.\" v${VERSION} && git push --tags && cp build/d3-request.js ../d3.github.com/d3-request.v0.3.js && cp build/d3-request.min.js ../d3.github.com/d3-request.v0.3.min.js && cd ../d3.github.com && git add d3-request.v0.3.js d3-request.v0.3.min.js && git commit -m \"d3-request ${VERSION}\" && git push"},"dependencies":{"d3-collection":"~0.1.1","d3-dispatch":"~0.2.6","d3-dsv":"~0.1.14"},"devDependencies":{"faucet":"0.0","rollup":"0.25","tape":"4","uglify-js":"2"},"gitHead":"7cd123a31dc3f13b692936d0dae70c3d6cef679a","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.3.2","_shasum":"ae87559554550e3a682ca6c01ad6c8ab2eba2c9a","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"ae87559554550e3a682ca6c01ad6c8ab2eba2c9a","size":8755,"noattachment":false,"key":"/d3-request/-/d3-request-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.3.2.tgz"},"directories":{},"publish_time":1454092262236,"_cnpm_publish_time":1454092262236,"_hasShrinkwrap":false},"0.3.1":{"name":"d3-request","version":"0.3.1","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-collection:d3_collection,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -u d3-request -n d3_request -o build/d3-request.js -- build/bundle.js","test":"faucet `find test -name '*-test.js'` && eslint index.js src","prepublish":"npm run test && uglifyjs build/d3-request.js -c -m -o build/d3-request.min.js && rm -f build/d3-request.zip && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-collection":"~0.1.0","d3-dispatch":"~0.2.5","d3-dsv":"~0.1.13"},"devDependencies":{"faucet":"0.0","rollup":"0.20.5","tape":"4","uglify-js":"2"},"gitHead":"3a61faa86e99ca2b55e88f64ccb5ac525c924bda","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.3.1","_shasum":"dd39e11940c359aa74bc823dc366aa1a383edbc8","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"dd39e11940c359aa74bc823dc366aa1a383edbc8","size":8630,"noattachment":false,"key":"/d3-request/-/d3-request-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.3.1.tgz"},"directories":{},"publish_time":1453503107925,"_cnpm_publish_time":1453503107925,"_hasShrinkwrap":false},"0.3.0":{"name":"d3-request","version":"0.3.0","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-collection:d3_collection,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -u d3-request -n d3_request -o build/d3-request.js -- build/bundle.js","test":"faucet `find test -name '*-test.js'`","prepublish":"npm run test && uglifyjs build/d3-request.js -c -m -o build/d3-request.min.js && rm -f build/d3-request.zip && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-collection":"~0.1.0","d3-dispatch":"~0.2.5","d3-dsv":"~0.1.13"},"devDependencies":{"faucet":"0.0","rollup":"0.20.5","tape":"4","uglify-js":"2"},"gitHead":"87b6883f6569271407040407d2c25fe5a290a3f2","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.3.0","_shasum":"6f6bf532bdd08c3a22336860659ce753fa6d81b3","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"6f6bf532bdd08c3a22336860659ce753fa6d81b3","size":8499,"noattachment":false,"key":"/d3-request/-/d3-request-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.3.0.tgz"},"directories":{},"publish_time":1452209718655,"_cnpm_publish_time":1452209718655,"_hasShrinkwrap":false},"0.2.6":{"name":"d3-request","version":"0.2.6","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-collection:d3_collection,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -u d3-request -n d3_request -o build/d3-request.js -- build/bundle.js","test":"faucet `find test -name '*-test.js'`","prepublish":"npm run test && uglifyjs build/d3-request.js -c -m -o build/d3-request.min.js && rm -f build/d3-request.zip && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-collection":"~0.1.0","d3-dispatch":"~0.2.4","d3-dsv":"~0.1.13"},"devDependencies":{"faucet":"0.0","rollup":"0.20.5","tape":"4","uglify-js":"2"},"gitHead":"896c2cd8874f27a90248286883178d562c54e5cd","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.2.6","_shasum":"99c11c3c8fdedb363cdbe2fe028539fab4ca4069","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"99c11c3c8fdedb363cdbe2fe028539fab4ca4069","size":8461,"noattachment":false,"key":"/d3-request/-/d3-request-0.2.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.2.6.tgz"},"directories":{},"publish_time":1452199006925,"_cnpm_publish_time":1452199006925,"_hasShrinkwrap":false},"0.2.5":{"name":"d3-request","version":"0.2.5","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-array:d3_array,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -u d3-request -n d3_request -o build/d3-request.js -- build/bundle.js","test":"faucet `find test -name '*-test.js'`","prepublish":"npm run test && uglifyjs build/d3-request.js -c -m -o build/d3-request.min.js && rm -f build/d3-request.zip && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-array":"~0.6.1","d3-dispatch":"~0.2.4","d3-dsv":"~0.1.13"},"devDependencies":{"faucet":"0.0","rollup":"0.20.5","tape":"4","uglify-js":"2"},"gitHead":"03c36ff1fdfa36d2f77b3fa54ca4fe58c5153594","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.2.5","_shasum":"4bc9675cad384ba591f4baa8b76abd3507ccb3c8","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"4bc9675cad384ba591f4baa8b76abd3507ccb3c8","size":8463,"noattachment":false,"key":"/d3-request/-/d3-request-0.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.2.5.tgz"},"directories":{},"publish_time":1452015848329,"_cnpm_publish_time":1452015848329,"_hasShrinkwrap":false},"0.2.4":{"name":"d3-request","version":"0.2.4","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-array:d3_array,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -u d3-request -n d3_request -o build/d3-request.js -- build/bundle.js","test":"faucet `find test -name '*-test.js'`","prepublish":"npm run test && uglifyjs build/d3-request.js -c -m -o build/d3-request.min.js && rm -f build/d3-request.zip && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-array":"~0.6.1","d3-dispatch":"~0.2.4","d3-dsv":"~0.1.13"},"devDependencies":{"faucet":"0.0","rollup":"0.20.5","tape":"4","uglify-js":"2"},"gitHead":"14ee6ef985b38cdcabf2c09f164085b2559fc0db","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.2.4","_shasum":"921d80287c0d16045bc5de3acf4f4e824402cc15","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"921d80287c0d16045bc5de3acf4f4e824402cc15","size":8335,"noattachment":false,"key":"/d3-request/-/d3-request-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.2.4.tgz"},"directories":{},"publish_time":1450469142520,"_cnpm_publish_time":1450469142520,"_hasShrinkwrap":false},"0.2.3":{"name":"d3-request","version":"0.2.3","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-arrays:d3_arrays,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -u d3-request -n d3_request -o build/d3-request.js -- build/bundle.js","test":"faucet `find test -name '*-test.js'`","prepublish":"npm run test && uglifyjs build/d3-request.js -c -m -o build/d3-request.min.js && rm -f build/d3-request.zip && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-arrays":"~0.3.1","d3-dispatch":"~0.2.4","d3-dsv":"~0.1.9"},"devDependencies":{"faucet":"0.0","rollup":"0.20.5","tape":"4","uglify-js":"2"},"gitHead":"b155968e259a83b7fac322c246cf82dac7222d40","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.2.3","_shasum":"2b72a06376f1faa9be6d23d3c540b2570d266eac","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"2b72a06376f1faa9be6d23d3c540b2570d266eac","size":8190,"noattachment":false,"key":"/d3-request/-/d3-request-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.2.3.tgz"},"directories":{},"publish_time":1449016702628,"_cnpm_publish_time":1449016702628,"_hasShrinkwrap":false},"0.2.2":{"name":"d3-request","version":"0.2.2","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-arrays:d3_arrays,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -u d3-request -n d3_request -o build/d3-request.js -- build/bundle.js","test":"faucet `find test -name '*-test.js'`","prepublish":"npm run test && uglifyjs build/d3-request.js -c -m -o build/d3-request.min.js && rm -f build/d3-request.zip && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-arrays":"~0.3.1","d3-dispatch":"~0.2.4","d3-dsv":"~0.1.9"},"devDependencies":{"faucet":"0.0","rollup":"0.20.5","tape":"4","uglify-js":"2"},"gitHead":"96bb718391fe51b970e447d4acbcea41f00421d8","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.2.2","_shasum":"21df54f93ed612e09031b792d70dacbb19ef30d9","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"21df54f93ed612e09031b792d70dacbb19ef30d9","size":8192,"noattachment":false,"key":"/d3-request/-/d3-request-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.2.2.tgz"},"directories":{},"publish_time":1448730357083,"_cnpm_publish_time":1448730357083,"_hasShrinkwrap":false},"0.2.1":{"name":"d3-request","version":"0.2.1","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/d3-request.js","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-arrays:d3_arrays,d3-dispatch:d3_dispatch,d3-dsv:d3_dsv -u d3-request -n d3_request -o build/d3-request.js -- build/bundle.js","test":"faucet `find test -name '*-test.js'`","prepublish":"npm run test && uglifyjs build/d3-request.js -c -m -o build/d3-request.min.js && rm -f build/d3-request.zip && zip -j build/d3-request.zip -- LICENSE README.md build/d3-request.js build/d3-request.min.js"},"dependencies":{"d3-arrays":"~0.3.1","d3-dispatch":"~0.2.4","d3-dsv":"~0.1.9"},"devDependencies":{"faucet":"0.0","rollup":"0.20.5","tape":"4","uglify-js":"2"},"gitHead":"95fa14925eaa150f33daeef842ef5ac4dc1bcb3f","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.2.1","_shasum":"e5fdd01150e430603359f9445ef75f9ba77e6d97","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"e5fdd01150e430603359f9445ef75f9ba77e6d97","size":8138,"noattachment":false,"key":"/d3-request/-/d3-request-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.2.1.tgz"},"directories":{},"publish_time":1447269807086,"_cnpm_publish_time":1447269807086,"_hasShrinkwrap":false},"0.2.0":{"name":"d3-request","version":"0.2.0","description":"A convenient alternative to XMLHttpRequest.","keywords":["d3","request","ajax","XMLHttpRequest"],"homepage":"https://github.com/d3/d3-request","license":"BSD-3-Clause","author":{"name":"Mike Bostock","url":"http://bost.ocks.org/mike"},"main":"build/request.cjs","jsnext:main":"index.js","repository":{"type":"git","url":"git+https://github.com/d3/d3-request.git"},"scripts":{"pretest":"mkdir -p build && d3-bundler -x -f cjs -o build/request.cjs.js","test":"faucet `find test -name '*-test.js'`","prepublish":"npm run test && d3-bundler -n request -o build/request.js && uglifyjs build/request.js -c -m -o build/request.min.js && rm -f build/request.zip && zip -j build/request.zip -- LICENSE README.md build/request.js build/request.min.js"},"dependencies":{"d3-arrays":"~0.3.0","d3-dispatch":"~0.2.3","d3-dsv":"~0.1.6"},"devDependencies":{"d3-bundler":"~0.4.2","faucet":"0.0","tape":"4","uglify-js":"2"},"gitHead":"d350c1895008681b212215625468134a30ad92db","bugs":{"url":"https://github.com/d3/d3-request/issues"},"_id":"d3-request@0.2.0","_shasum":"6f412990135bf1b3b65632843f09485f7896eeb7","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"mbostock","email":"mbostock@gmail.com"},"maintainers":[{"name":"mbostock","email":"mike@ocks.org"}],"dist":{"shasum":"6f412990135bf1b3b65632843f09485f7896eeb7","size":11762,"noattachment":false,"key":"/d3-request/-/d3-request-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/d3-request/download/d3-request-0.2.0.tgz"},"directories":{},"publish_time":1446869921819,"_cnpm_publish_time":1446869921819,"_hasShrinkwrap":false}},"readme":"# d3-request\n\nThis module provides a convenient alternative to XMLHttpRequest. For example, to load a text file:\n\n```js\nd3.text(\"/path/to/file.txt\", function(error, text) {\n  if (error) throw error;\n  console.log(text); // Hello, world!\n});\n```\n\nTo load and parse a CSV file:\n\n```js\nd3.csv(\"/path/to/file.csv\", function(error, data) {\n  if (error) throw error;\n  console.log(data); // [{\"Hello\": \"world\"}, …]\n});\n```\n\nTo post some query parameters:\n\n```js\nd3.request(\"/path/to/resource\")\n    .header(\"X-Requested-With\", \"XMLHttpRequest\")\n    .header(\"Content-Type\", \"application/x-www-form-urlencoded\")\n    .post(\"a=2&b=3\", callback);\n```\n\nThis module has built-in support for parsing [JSON](#json), [CSV](#csv) and [TSV](#tsv); in browsers, but not in Node, [HTML](#html) and [XML](#xml) are also supported. You can parse additional formats by using [request](#request) or [text](#text) directly.\n\n## Installing\n\nIf you use NPM, `npm install d3-request`. Otherwise, download the [latest release](https://github.com/d3/d3-request/releases/latest). You can also load directly from [d3js.org](https://d3js.org), either as a [standalone library](https://d3js.org/d3-request.v1.min.js) or as part of [D3 4.0](https://github.com/d3/d3). AMD, CommonJS, and vanilla environments are supported. In vanilla, a `d3` global is exported:\n\n```html\n<script src=\"https://d3js.org/d3-collection.v1.min.js\"></script>\n<script src=\"https://d3js.org/d3-dispatch.v1.min.js\"></script>\n<script src=\"https://d3js.org/d3-dsv.v1.min.js\"></script>\n<script src=\"https://d3js.org/d3-request.v1.min.js\"></script>\n<script>\n\nd3.csv(\"/path/to/file.csv\", callback);\n\n</script>\n```\n\n[Try d3-request in your browser.](https://tonicdev.com/npm/d3-request)\n\n## API Reference\n\n<a name=\"request\" href=\"#request\">#</a> d3.<b>request</b>(<i>url</i>[, <i>callback</i>]) [<>](https://github.com/d3/d3-request/blob/master/src/request.js#L4 \"Source\")\n\nReturns a new *request* for specified *url*. If no *callback* is specified, the returned *request* is not yet [sent](#request_send) and can be further configured. If a *callback* is specified, it is equivalent to calling [*request*.get](#request_get) immediately after construction:\n\n```js\nd3.request(url)\n    .get(callback);\n```\n\nIf you wish to specify a request header or a mime type, you must *not* specify a callback to the constructor. Use [*request*.header](#request_header) or [*request*.mimeType](#request_mimeType) followed by [*request*.get](#request_get) instead. See [d3.json](#json), [d3.csv](#csv), [d3.tsv](#tsv), [d3.html](#html) and [d3.xml](#xml) for content-specific convenience constructors.\n\n<a name=\"request_header\" href=\"#request_header\">#</a> <i>request</i>.<b>header</b>(<i>name</i>[, <i>value</i>]) [<>](https://github.com/d3/d3-request/blob/master/src/request.js#L51 \"Source\")\n\nIf *value* is specified, sets the request header with the specified *name* to the specified value and returns this request instance. If *value* is null, removes the request header with the specified *name* instead. If *value* is not specified, returns the current value of the request header with the specified *name*. Header names are case-insensitive.\n\nRequest headers can only be modified before the request is [sent](#request_send). Therefore, you cannot pass a callback to the [request constructor](#request) if you wish to specify a header; use [*request*.get](#request_get) or similar instead. For example:\n\n```js\nd3.request(url)\n    .header(\"Accept-Language\", \"en-US\")\n    .header(\"X-Requested-With\", \"XMLHttpRequest\")\n    .get(callback);\n```\n\nNote: this library does not set the X-Requested-With header to `XMLHttpRequest` by default. Some servers require this header to mitigate unwanted requests, but the presence of the header triggers CORS preflight checks; if necessary, set this header before sending the request.\n\n<a name=\"request_mimeType\" href=\"#request_mimeType\">#</a> <i>request</i>.<b>mimeType</b>([<i>type</i>]) [<>](https://github.com/d3/d3-request/blob/master/src/request.js#L60 \"Source\")\n\nIf *type* is specified, sets the request mime type to the specified value and returns this request instance. If *type* is null, clears the current mime type (if any) instead. If *type* is not specified, returns the current mime type, which defaults to null. The mime type is used to both set the [\"Accept\" request header](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html) and for [overrideMimeType](http://www.w3.org/TR/XMLHttpRequest/#the-overridemimetype%28%29-method), where supported.\n\nThe request mime type can only be modified before the request is [sent](#request_send). Therefore, you cannot pass a callback to the [request constructor](#request) if you wish to override the mime type; use [*request*.get](#request_get) or similar instead. For example:\n\n```js\nd3.request(url)\n    .mimeType(\"text/csv\")\n    .get(callback);\n```\n\n<a name=\"request_user\" href=\"#request_user\">#</a> <i>request</i>.<b>user</b>([<i>value</i>]) [<>](https://github.com/d3/d3-request/blob/master/src/request.js#L80 \"Source\")\n\nIf *value* is specified, sets the user name for authentication to the specified string and returns this request instance. If *value* is not specified, returns the current user name, which defaults to null.\n\n<a name=\"request_password\" href=\"#request_password\">#</a> <i>request</i>.<b>password</b>([<i>value</i>]) [<>](https://github.com/d3/d3-request/blob/master/src/request.js#L84 \"Source\")\n\nIf *value* is specified, sets the password for authentication to the specified string and returns this request instance. If *value* is not specified, returns the current password, which defaults to null.\n\n<a name=\"request_timeout\" href=\"#request_timeout\">#</a> <i>request</i>.<b>timeout</b>([<i>timeout</i>]) [<>](https://github.com/d3/d3-request/blob/master/src/request.js#L74 \"Source\")\n\nIf *timeout* is specified, sets the [timeout](http://www.w3.org/TR/XMLHttpRequest/#the-timeout-attribute) attribute of the request to the specified number of milliseconds and returns this request instance. If *timeout* is not specified, returns the current response timeout, which defaults to 0.\n\n<a name=\"request_responseType\" href=\"#request_responseType\">#</a> <i>request</i>.<b>responseType</b>([<i>type</i>]) [<>](https://github.com/d3/d3-request/blob/master/src/request.js#L68 \"Source\")\n\nIf *type* is specified, sets the [response type](http://www.w3.org/TR/XMLHttpRequest/#the-responsetype-attribute) attribute of the request and returns this request instance. Typical values are: `​` (the empty string), `arraybuffer`, `blob`, `document`, and `text`. If *type* is not specified, returns the current response type, which defaults to `​`.\n\n<a name=\"request_response\" href=\"#request_response\">#</a> <i>request</i>.<b>response</b>(<i>value</i>) [<>](https://github.com/d3/d3-request/blob/master/src/request.js#L90 \"Source\")\n\nSets the response value function to the specified function and returns this request instance. The response value function is used to map the response XMLHttpRequest object to a useful data value. See the convenience methods [json](#json) and [text](#text) for examples.\n\n<a name=\"request_get\" href=\"#request_get\">#</a> <i>request</i>.<b>get</b>([<i>data</i>][, <i>callback</i>]) [<>](https://github.com/d3/d3-request/blob/master/src/request.js#L96 \"Source\")\n\nEquivalent to [*request*.send](#request_send) with the GET method:\n\n```js\nrequest.send(\"GET\", data, callback);\n```\n\n<a name=\"request_post\" href=\"#request_post\">#</a> <i>request</i>.<b>post</b>([<i>data</i>][, <i>callback</i>]) [<>](https://github.com/d3/d3-request/blob/master/src/request.js#L101 \"Source\")\n\nEquivalent to [*request*.send](#request_send) with the POST method:\n\n```js\nrequest.send(\"POST\", data, callback);\n```\n\n<a name=\"request_send\" href=\"#request_send\">#</a> <i>request</i>.<b>send</b>(<i>method</i>[, <i>data</i>][, <i>callback</i>]) [<>](https://github.com/d3/d3-request/blob/master/src/request.js#L106 \"Source\")\n\nIssues this request using the specified *method* (such as `GET` or `POST`), optionally posting the specified *data* in the request body, and returns this request instance. If a *callback* is specified, the callback will be invoked asynchronously when the request succeeds or fails. The callback is invoked with two arguments: the error, if any, and the [response value](#request_response). The response value is undefined if an error occurs. This is equivalent to:\n\n```js\nrequest\n    .on(\"error\", function(error) { callback(error); })\n    .on(\"load\", function(xhr) { callback(null, xhr); })\n    .send(method, data);\n```\n\nIf no *callback* is specified, then \"load\" and \"error\" listeners should be registered via [*request*.on](#request_on).\n\n<a name=\"request_abort\" href=\"#request_abort\">#</a> <i>request</i>.<b>abort</b>() [<>](https://github.com/d3/d3-request/blob/master/src/request.js#L121 \"Source\")\n\nAborts this request, if it is currently in-flight, and returns this request instance. See [XMLHttpRequest’s abort](http://www.w3.org/TR/XMLHttpRequest/#the-abort%28%29-method).\n\n<a name=\"request_on\" href=\"#request_on\">#</a> <i>request</i>.<b>on</b>(<i>type</i>[, <i>listener</i>]) [<>](https://github.com/d3/d3-request/blob/master/src/request.js#L126 \"Source\")\n\nIf *listener* is specified, sets the event *listener* for the specified *type* and returns this request instance. If an event listener was already registered for the same type, the existing listener is removed before the new listener is added. If *listener* is null, removes the current event *listener* for the specified *type* (if any) instead. If *listener* is not specified, returns the currently-assigned listener for the specified type, if any.\n\nThe type must be one of the following:\n\n* `beforesend` - to allow custom headers and the like to be set before the request is [sent](#request_send).\n* `progress` - to monitor the [progress of the request](http://www.w3.org/TR/progress-events/).\n* `load` - when the request completes successfully.\n* `error` - when the request completes unsuccessfully; this includes 4xx and 5xx response codes.\n\nTo register multiple listeners for the same *type*, the type may be followed by an optional name, such as `load.foo` and `load.bar`. See [d3-dispatch](https://github.com/d3/d3-dispatch) for details.\n\n<a name=\"csv\" href=\"#csv\">#</a> d3.<b>csv</b>(<i>url</i>[[, <i>row</i>], <i>callback</i>]) [<>](https://github.com/d3/d3-request/blob/master/src/csv.js \"Source\")\n\nReturns a new [*request*](#request) for the [CSV](https://github.com/d3/d3-dsv#csvParse) file at the specified *url* with the default mime type `text/csv`. If no *callback* is specified, this is equivalent to:\n\n```js\nd3.request(url)\n    .mimeType(\"text/csv\")\n    .response(function(xhr) { return d3.csvParse(xhr.responseText, row); });\n```\n\nIf a *callback* is specified, a [GET](#request_get) request is sent, making it equivalent to:\n\n```js\nd3.request(url)\n    .mimeType(\"text/csv\")\n    .response(function(xhr) { return d3.csvParse(xhr.responseText, row); })\n    .get(callback);\n```\n\nAn 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\nfunction row(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\nThe returned *request* exposes an additional *request*.row method as an alternative to passing the *row* conversion function to d3.csv, allowing you to configure the request before sending it. For example, this:\n\n```js\nd3.csv(url, row, callback);\n```\n\nIs equivalent to this:\n\n```js\nd3.csv(url)\n    .row(row)\n    .get(callback);\n```\n\n<a name=\"html\" href=\"#html\">#</a> d3.<b>html</b>(<i>url</i>[, <i>callback</i>]) [<>](https://github.com/d3/d3-request/blob/master/src/html.js \"Source\")\n\nReturns a new [*request*](#request) for the HTML file at the specified *url* with the default mime type `text/html`. The HTML file is returned as a [document fragment](https://developer.mozilla.org/en-US/docs/DOM/range.createContextualFragment). If no *callback* is specified, this is equivalent to:\n\n```js\nd3.request(url)\n    .mimeType(\"text/html\")\n    .response(function(xhr) { return document.createRange().createContextualFragment(xhr.responseText); });\n```\n\nIf a *callback* is specified, a [GET](#request_get) request is sent, making it equivalent to:\n\n```js\nd3.request(url)\n    .mimeType(\"text/html\")\n    .response(function(xhr) { return document.createRange().createContextualFragment(xhr.responseText); })\n    .get(callback);\n```\n\nHTML parsing requires a global document and relies on [DOM Ranges](https://dom.spec.whatwg.org/#ranges), which are [not supported by JSDOM](https://github.com/tmpvar/jsdom/issues/317) as of version 8.3; thus, this method is supported in browsers but not in Node.\n\n<a name=\"json\" href=\"#json\">#</a> d3.<b>json</b>(<i>url</i>[, <i>callback</i>]) [<>](https://github.com/d3/d3-request/blob/master/src/json.js \"Source\")\n\nReturns a new [*request*](#request) to [get](#request_get) the [JSON](http://json.org) file at the specified *url* with the default mime type `application/json`. If no *callback* is specified, this is equivalent to:\n\n```js\nd3.request(url)\n    .mimeType(\"application/json\")\n    .response(function(xhr) { return JSON.parse(xhr.responseText); });\n```\n\nIf a *callback* is specified, a [GET](#request_get) request is sent, making it equivalent to:\n\n```js\nd3.request(url)\n    .mimeType(\"application/json\")\n    .response(function(xhr) { return JSON.parse(xhr.responseText); })\n    .get(callback);\n```\n\n<a name=\"text\" href=\"#text\">#</a> d3.<b>text</b>(<i>url</i>[, <i>callback</i>]) [<>](https://github.com/d3/d3-request/blob/master/src/text.js \"Source\")\n\nReturns a new [*request*](#request) to [get](#request_get) the text file at the specified *url* with the default mime type `text/plain`. If no *callback* is specified, this is equivalent to:\n\n```js\nd3.request(url)\n    .mimeType(\"text/plain\")\n    .response(function(xhr) { return xhr.responseText; });\n```\n\nIf a *callback* is specified, a [GET](#request_get) request is sent, making it equivalent to:\n\n```js\nd3.request(url)\n    .mimeType(\"text/plain\")\n    .response(function(xhr) { return xhr.responseText; })\n    .get(callback);\n```\n\n<a name=\"tsv\" href=\"#tsv\">#</a> d3.<b>tsv</b>(<i>url</i>[[, <i>row</i>], <i>callback</i>]) [<>](https://github.com/d3/d3-request/blob/master/src/tsv.js \"Source\")\n\nReturns a new [*request*](#request) for a [TSV](https://github.com/d3/d3-dsv#tsvParse) file at the specified *url* with the default mime type `text/tab-separated-values`. If no *callback* is specified, this is equivalent to:\n\n```js\nd3.request(url)\n    .mimeType(\"text/tab-separated-values\")\n    .response(function(xhr) { return d3.tsvParse(xhr.responseText, row); });\n```\n\nIf a *callback* is specified, a [GET](#request_get) request is sent, making it equivalent to:\n\n```js\nd3.request(url)\n    .mimeType(\"text/tab-separated-values\")\n    .response(function(xhr) { return d3.tsvParse(xhr.responseText, row); })\n    .get(callback);\n```\n\nAn 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\nfunction row(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\nThe returned *request* exposes an additional *request*.row method as an alternative to passing the *row* conversion function to d3.tsv, allowing you to configure the request before sending it. For example, this:\n\n```js\nd3.tsv(url, row, callback);\n```\n\nIs equivalent to this:\n\n```js\nd3.tsv(url)\n    .row(row)\n    .get(callback);\n```\n\n<a name=\"xml\" href=\"#xml\">#</a> d3.<b>xml</b>(<i>url</i>[, <i>callback</i>]) [<>](https://github.com/d3/d3-request/blob/master/src/xml.js \"Source\")\n\nReturns a new [*request*](#request) to [get](#request_get) the XML file at the specified *url* with the default mime type `application/xml`. If no *callback* is specified, this is equivalent to:\n\n```js\nd3.request(url)\n    .mimeType(\"application/xml\")\n    .response(function(xhr) { return xhr.responseXML; });\n```\n\nIf a *callback* is specified, a [GET](#request_get) request is sent, making it equivalent to:\n\n```js\nd3.request(url)\n    .mimeType(\"application/xml\")\n    .response(function(xhr) { return xhr.responseXML; })\n    .get(callback);\n```\n\nXML parsing relies on [*xhr*.responseXML](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseXML) which is not supported by [node-XMLHttpRequest](https://github.com/driverdan/node-XMLHttpRequest/issues/8) as of version 1.8; thus, this method is supported in browsers but not in Node.\n","_attachments":{},"homepage":"https://d3js.org/d3-request/","bugs":{"url":"https://github.com/d3/d3-request/issues"},"license":"BSD-3-Clause"}