{"_id":"then-request","_rev":"38450","name":"then-request","description":"A request library that returns promises, inspired by request","dist-tags":{"latest":"6.0.2"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"time":{"modified":"2021-06-03T10:10:58.000Z","created":"2014-02-10T14:48:05.684Z","6.0.2":"2019-03-20T06:08:10.324Z","6.0.1":"2019-03-20T06:01:35.492Z","6.0.0":"2018-03-05T17:06:37.769Z","5.0.0":"2018-01-31T11:07:06.238Z","4.1.0":"2017-07-19T12:48:09.025Z","4.0.0":"2017-07-19T12:43:00.299Z","3.2.0":"2017-07-06T10:52:13.627Z","3.1.0":"2017-06-20T10:17:31.780Z","3.0.0":"2017-06-16T23:16:31.521Z","2.2.0":"2016-03-02T18:47:18.347Z","2.1.1":"2015-02-12T10:21:56.012Z","2.1.0":"2015-01-26T15:18:14.055Z","2.0.3":"2015-01-21T16:04:28.991Z","2.0.2":"2015-01-21T15:58:19.697Z","2.0.1":"2015-01-14T23:47:43.398Z","2.0.0":"2015-01-14T23:45:03.036Z","1.1.0":"2014-12-18T12:41:35.684Z","1.0.5":"2014-12-18T12:03:30.351Z","1.0.4":"2014-09-29T13:26:27.776Z","1.0.3":"2014-09-09T15:47:40.476Z","1.0.2":"2014-09-09T10:59:28.088Z","1.0.1":"2014-08-07T11:55:27.820Z","1.0.0":"2014-08-01T16:00:43.668Z","0.0.4":"2014-04-02T14:30:23.544Z","0.0.3":"2014-04-02T14:28:20.822Z","0.0.2":"2014-04-01T19:11:05.575Z","0.0.1":"2014-02-10T14:48:05.684Z"},"users":{"shujianbu":true,"josealmeida":true,"cycomachead":true,"jirqoadai":true},"author":{"name":"ForbesLindesay"},"repository":{"type":"git","url":"git+https://github.com/then/then-request.git"},"versions":{"6.0.2":{"name":"then-request","version":"6.0.2","description":"A request library that returns promises, inspired by request","keywords":[],"main":"lib/index.js","browser":"lib/browser.js","types":"lib/index.d.ts","dependencies":{"@types/concat-stream":"^1.6.0","@types/form-data":"0.0.33","@types/node":"^8.0.0","@types/qs":"^6.2.31","caseless":"~0.12.0","concat-stream":"^1.6.0","form-data":"^2.2.0","http-basic":"^8.1.1","http-response-object":"^3.0.1","promise":"^8.0.0","qs":"^6.4.0"},"devDependencies":{"browserify":"^14.4.0","busboy":"^0.2.14","exorcist":"^0.4.0","flowgen2":"^2.2.2","istanbul":"^0.4.5","jsdom":"^11.1.0","minifyify":"^7.3.5","mkdirp":"^0.5.1","multiparty":"^4.1.3","rimraf":"^2.6.1","testit":"^2.1.3","typescript":"^2.4.0"},"scripts":{"pretest":"npm run build:types","test":"node test/index.js && istanbul cover test/index.js","prepublishOnly":"npm run build","prebuild":"rimraf dist && mkdirp dist","build":"npm run build:types && npm run build:full && npm run build:min","build:types":"tsc && flowgen lib/**/*","build:full":"browserify -d --standalone request lib/browser.js | exorcist -u request.js.map dist/request.js.map > dist/request.js","build:min":"browserify -d --standalone request lib/browser.js -p [minifyify --compressPath . --map request.min.js.map --output dist/request.min.js.map] > dist/request.min.js"},"engines":{"node":">=6.0.0"},"repository":{"type":"git","url":"git+https://github.com/then/then-request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"1f7f95210bb44673b4841eda31b9bbcbab0f202c","bugs":{"url":"https://github.com/then/then-request/issues"},"homepage":"https://github.com/then/then-request#readme","_id":"then-request@6.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"ec18dd8b5ca43aaee5cb92f7e4c1630e950d4f0c","size":8406,"noattachment":false,"key":"/then-request/-/then-request-6.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-6.0.2.tgz"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/then-request_6.0.2_1553062090191_0.040047991567841335"},"_hasShrinkwrap":false,"publish_time":1553062090324,"_cnpm_publish_time":1553062090324},"6.0.1":{"name":"then-request","version":"6.0.1","description":"A request library that returns promises, inspired by request","keywords":[],"main":"lib/index.js","browser":"lib/browser.js","types":"lib/index.d.ts","dependencies":{"@types/concat-stream":"^1.6.0","@types/form-data":"0.0.33","@types/node":"^8.0.0","@types/qs":"^6.2.31","caseless":"~0.12.0","concat-stream":"^1.6.0","form-data":"^2.2.0","http-basic":"^7.0.0","http-response-object":"^3.0.1","promise":"^8.0.0","qs":"^6.4.0"},"devDependencies":{"browserify":"^14.4.0","busboy":"^0.2.14","exorcist":"^0.4.0","flowgen2":"^2.2.1","istanbul":"^0.4.5","jsdom":"^11.1.0","minifyify":"^7.3.5","mkdirp":"^0.5.1","multiparty":"^4.1.3","rimraf":"^2.6.1","testit":"^2.1.3","typescript":"^2.4.0"},"scripts":{"pretest":"npm run build:types","test":"node test/index.js && istanbul cover test/index.js","prepublishOnly":"npm run build","prebuild":"rimraf dist && mkdirp dist","build":"npm run build:types && npm run build:full && npm run build:min","build:types":"tsc && flowgen lib/**/*","build:full":"browserify -d --standalone request lib/browser.js | exorcist -u request.js.map dist/request.js.map > dist/request.js","build:min":"browserify -d --standalone request lib/browser.js -p [minifyify --compressPath . --map request.min.js.map --output dist/request.min.js.map] > dist/request.min.js"},"engines":{"node":">=6.0.0"},"repository":{"type":"git","url":"git+https://github.com/then/then-request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"501139506008a259d130dc547c7f8a5f01780d4f","bugs":{"url":"https://github.com/then/then-request/issues"},"homepage":"https://github.com/then/then-request#readme","_id":"then-request@6.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"548e095782818313668fa9cc4053d9051a7f7859","size":8402,"noattachment":false,"key":"/then-request/-/then-request-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-6.0.1.tgz"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/then-request_6.0.1_1553061695273_0.982227962576111"},"_hasShrinkwrap":false,"publish_time":1553061695492,"_cnpm_publish_time":1553061695492},"6.0.0":{"name":"then-request","version":"6.0.0","description":"A request library that returns promises, inspired by request","keywords":[],"main":"lib/index.js","browser":"lib/browser.js","types":"lib/index.d.ts","files":["lib"],"dependencies":{"@types/concat-stream":"^1.6.0","@types/form-data":"0.0.33","@types/node":"^8.0.0","@types/qs":"^6.2.31","caseless":"~0.12.0","concat-stream":"^1.6.0","form-data":"^2.2.0","http-basic":"^7.0.0","http-response-object":"^3.0.1","promise":"^8.0.0","qs":"^6.4.0"},"devDependencies":{"browserify":"^14.4.0","busboy":"^0.2.14","exorcist":"^0.4.0","flowgen2":"^2.0.0-alpha.12","istanbul":"^0.4.5","jsdom":"^11.1.0","minifyify":"^7.3.5","mkdirp":"^0.5.1","multiparty":"^4.1.3","rimraf":"^2.6.1","testit":"^2.1.3","typescript":"^2.4.0"},"scripts":{"pretest":"npm run build:types","test":"node test/index.js && istanbul cover test/index.js","prepublishOnly":"npm run build","prebuild":"rimraf dist && mkdirp dist","build":"npm run build:types && npm run build:full && npm run build:min","build:types":"tsc && flowgen lib/**/*","build:full":"browserify -d --standalone request lib/browser.js | exorcist -u request.js.map dist/request.js.map > dist/request.js","build:min":"browserify -d --standalone request lib/browser.js -p [minifyify --compressPath . --map request.min.js.map --output dist/request.min.js.map] > dist/request.min.js"},"engines":{"node":">=6.0.0"},"repository":{"type":"git","url":"git+https://github.com/then/then-request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"7ddf93c3609b873b7e909ee88b7b82ded575876b","bugs":{"url":"https://github.com/then/then-request/issues"},"homepage":"https://github.com/then/then-request#readme","_id":"then-request@6.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"2cab198e48f2d8e79c8c1ed260198368a4a0bcba","size":8446,"noattachment":false,"key":"/then-request/-/then-request-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-6.0.0.tgz"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/then-request_6.0.0_1520269597693_0.7789810096290732"},"_hasShrinkwrap":false,"publish_time":1520269597769,"_cnpm_publish_time":1520269597769},"5.0.0":{"name":"then-request","version":"5.0.0","description":"A request library that returns promises, inspired by request","keywords":[],"main":"lib/index.js","browser":"lib/browser.js","types":"lib/index.d.ts","files":["lib"],"dependencies":{"@types/concat-stream":"^1.6.0","@types/form-data":"0.0.33","@types/node":"^8.0.0","@types/qs":"^6.2.31","caseless":"~0.12.0","concat-stream":"^1.6.0","form-data":"^2.2.0","http-basic":"^6.0.0","http-response-object":"^3.0.1","promise":"^8.0.0","qs":"^6.4.0"},"devDependencies":{"browserify":"^14.4.0","busboy":"^0.2.14","exorcist":"^0.4.0","flowgen2":"^2.0.0-alpha.12","istanbul":"^0.4.5","jsdom":"^11.1.0","minifyify":"^7.3.5","mkdirp":"^0.5.1","multiparty":"^4.1.3","rimraf":"^2.6.1","testit":"^2.1.3","typescript":"^2.4.0"},"scripts":{"pretest":"npm run build:types","test":"node test/index.js && istanbul cover test/index.js","prepublishOnly":"npm run build","prebuild":"rimraf dist && mkdirp dist","build":"npm run build:types && npm run build:full && npm run build:min","build:types":"tsc && flowgen lib/**/*","build:full":"browserify -d --standalone request lib/browser.js | exorcist -u request.js.map dist/request.js.map > dist/request.js","build:min":"browserify -d --standalone request lib/browser.js -p [minifyify --compressPath . --map request.min.js.map --output dist/request.min.js.map] > dist/request.min.js"},"repository":{"type":"git","url":"git+https://github.com/then/then-request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"18f34668568748e4d15b581fd78202ef34c38973","bugs":{"url":"https://github.com/then/then-request/issues"},"homepage":"https://github.com/then/then-request#readme","_id":"then-request@5.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"7a23f616799597621de8cfebc77c61fd28c00d64","size":8387,"noattachment":false,"key":"/then-request/-/then-request-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-5.0.0.tgz"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/then-request-5.0.0.tgz_1517396825289_0.10427555325441062"},"directories":{},"publish_time":1517396826238,"_hasShrinkwrap":false,"_cnpm_publish_time":1517396826238},"4.1.0":{"name":"then-request","version":"4.1.0","description":"A request library that returns promises, inspired by request","keywords":[],"main":"lib/index.js","browser":"lib/browser.js","types":"lib/index.d.ts","files":["lib"],"dependencies":{"@types/concat-stream":"^1.6.0","@types/form-data":"0.0.33","@types/node":"^8.0.0","@types/qs":"^6.2.31","caseless":"~0.12.0","concat-stream":"^1.6.0","form-data":"^2.2.0","http-basic":"^5.0.3","http-response-object":"^2.0.3","promise":"^8.0.0","qs":"^6.4.0"},"devDependencies":{"browserify":"^14.4.0","busboy":"^0.2.14","exorcist":"^0.4.0","flowgen2":"^2.0.0-alpha.12","istanbul":"^0.4.5","jsdom":"^11.1.0","minifyify":"^7.3.5","mkdirp":"^0.5.1","multiparty":"^4.1.3","rimraf":"^2.6.1","testit":"^2.1.3","typescript":"^2.4.0"},"scripts":{"pretest":"npm run build:types","test":"node test/index.js && istanbul cover test/index.js","prepublishOnly":"npm run build","prebuild":"rimraf dist && mkdirp dist","build":"npm run build:types && npm run build:full && npm run build:min","build:types":"tsc && flowgen lib/**/*","build:full":"browserify -d --standalone request lib/browser.js | exorcist -u request.js.map dist/request.js.map > dist/request.js","build:min":"browserify -d --standalone request lib/browser.js -p [minifyify --compressPath . --map request.min.js.map --output dist/request.min.js.map] > dist/request.min.js"},"repository":{"type":"git","url":"git+https://github.com/then/then-request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"f1293121b0f11a182836f9775bc68871dc830b52","bugs":{"url":"https://github.com/then/then-request/issues"},"homepage":"https://github.com/then/then-request#readme","_id":"then-request@4.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"dist":{"shasum":"a2787b4a1fd94aedc6f8d4716850fd2b5b5132a0","size":8293,"noattachment":false,"key":"/then-request/-/then-request-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-4.1.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/then-request-4.1.0.tgz_1500468487950_0.03558784374035895"},"directories":{},"publish_time":1500468489025,"_hasShrinkwrap":false,"_cnpm_publish_time":1500468489025},"4.0.0":{"name":"then-request","version":"4.0.0","description":"A request library that returns promises, inspired by request","keywords":[],"main":"lib/index.js","browser":"lib/browser.js","types":"lib/index.d.ts","files":["lib"],"dependencies":{"@types/concat-stream":"^1.6.0","@types/form-data":"0.0.33","@types/node":"^8.0.0","@types/qs":"^6.2.31","caseless":"~0.12.0","concat-stream":"^1.6.0","form-data":"^2.2.0","http-basic":"^5.0.3","http-response-object":"^2.0.3","promise":"^8.0.0","qs":"^6.4.0"},"devDependencies":{"browserify":"^14.4.0","busboy":"^0.2.14","exorcist":"^0.4.0","flowgen2":"^2.0.0-alpha.12","istanbul":"^0.4.5","jsdom":"^11.1.0","minifyify":"^7.3.5","mkdirp":"^0.5.1","multiparty":"^4.1.3","rimraf":"^2.6.1","testit":"^2.1.3","typescript":"^2.4.0"},"scripts":{"pretest":"npm run build:types","test":"node test/index.js && istanbul cover test/index.js","prepublishOnly":"npm run build","prebuild":"rimraf dist && mkdirp dist","build":"npm run build:types && npm run build:full && npm run build:min","build:types":"tsc && flowgen lib/**/*","build:full":"browserify -d --standalone request lib/browser.js | exorcist -u request.js.map dist/request.js.map > dist/request.js","build:min":"browserify -d --standalone request lib/browser.js -p [minifyify --compressPath . --map request.min.js.map --output dist/request.min.js.map] > dist/request.min.js"},"repository":{"type":"git","url":"git+https://github.com/then/then-request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"3928ae1b3f01638f5564a2602889168bcad429e1","bugs":{"url":"https://github.com/then/then-request/issues"},"homepage":"https://github.com/then/then-request#readme","_id":"then-request@4.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"dist":{"shasum":"ce4cdf67fa7976a8a4b2193a66776390ef67b081","size":8247,"noattachment":false,"key":"/then-request/-/then-request-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-4.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/then-request-4.0.0.tgz_1500468179287_0.9783935134764761"},"directories":{},"publish_time":1500468180299,"_hasShrinkwrap":false,"_cnpm_publish_time":1500468180299},"3.2.0":{"name":"then-request","version":"3.2.0","description":"A request library that returns promises, inspired by request","keywords":[],"main":"lib/index.js","browser":"lib/browser.js","types":"lib/index.d.ts","files":["lib"],"dependencies":{"@types/concat-stream":"^1.6.0","@types/node":"^8.0.0","@types/qs":"^6.2.31","caseless":"~0.12.0","concat-stream":"^1.6.0","http-basic":"^5.0.3","http-response-object":"^2.0.3","promise":"^8.0.0","qs":"^6.4.0"},"devDependencies":{"browserify":"^14.4.0","exorcist":"^0.4.0","flowgen2":"^2.0.0-alpha.12","istanbul":"^0.4.5","jsdom":"^11.1.0","minifyify":"^7.3.5","mkdirp":"^0.5.1","rimraf":"^2.6.1","testit":"^2.1.3","typescript":"^2.4.0"},"scripts":{"pretest":"npm run build:types","test":"node test/index.js && istanbul cover test/index.js","prepublishOnly":"npm run build","prebuild":"rimraf dist && mkdirp dist","build":"npm run build:types && npm run build:full && npm run build:min","build:types":"tsc && flowgen lib/**/*","build:full":"browserify -d --standalone request lib/browser.js | exorcist -u request.js.map dist/request.js.map > dist/request.js","build:min":"browserify -d --standalone request lib/browser.js -p [minifyify --compressPath . --map request.min.js.map --output dist/request.min.js.map] > dist/request.min.js"},"repository":{"type":"git","url":"git+https://github.com/then/then-request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"095940d534409523833f347f0b852aa98a157938","bugs":{"url":"https://github.com/then/then-request/issues"},"homepage":"https://github.com/then/then-request#readme","_id":"then-request@3.2.0","_shasum":"5d0af441ada23e1dadcaacbf4893ca3df88c6b72","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"dist":{"shasum":"5d0af441ada23e1dadcaacbf4893ca3df88c6b72","size":7074,"noattachment":false,"key":"/then-request/-/then-request-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-3.2.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/then-request-3.2.0.tgz_1499338332635_0.5496175074949861"},"directories":{},"publish_time":1499338333627,"_hasShrinkwrap":false,"_cnpm_publish_time":1499338333627},"3.1.0":{"name":"then-request","version":"3.1.0","description":"A request library that returns promises, inspired by request","keywords":[],"main":"lib/index.js","browser":"lib/browser.js","types":"lib/index.d.ts","files":["lib"],"dependencies":{"@types/concat-stream":"^1.6.0","@types/node":"^8.0.0","@types/qs":"^6.2.31","caseless":"~0.12.0","concat-stream":"^1.6.0","http-basic":"^5.0.3","http-response-object":"^2.0.3","promise":"^8.0.0","qs":"^6.4.0"},"devDependencies":{"browserify":"^14.4.0","exorcist":"^0.4.0","flowgen2":"^2.0.0-alpha.12","istanbul":"^0.4.5","minifyify":"^7.3.5","mkdirp":"^0.5.1","rimraf":"^2.6.1","testit":"^2.1.3","typescript":"^2.4.0"},"scripts":{"pretest":"npm run build:types","test":"node test/index.js && istanbul cover test/index.js","prepublishOnly":"npm run build","prebuild":"rimraf dist && mkdirp dist","build":"npm run build:types && npm run build:full && npm run build:min","build:types":"tsc && flowgen lib/**/*","build:full":"browserify -d --standalone request lib/browser.js | exorcist -u request.js.map dist/request.js.map > dist/request.js","build:min":"browserify -d --standalone request lib/browser.js -p [minifyify --compressPath . --map request.min.js.map --output dist/request.min.js.map] > dist/request.min.js"},"repository":{"type":"git","url":"git+https://github.com/then/then-request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"0b8a714cf6701842c7576334eabf629ea7542df7","bugs":{"url":"https://github.com/then/then-request/issues"},"homepage":"https://github.com/then/then-request#readme","_id":"then-request@3.1.0","_npmVersion":"5.0.3","_nodeVersion":"8.0.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"dist":{"shasum":"fb48ec90b67cfa55a269c5bb234b4892ce4fa861","size":6973,"noattachment":false,"key":"/then-request/-/then-request-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-3.1.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/then-request-3.1.0.tgz_1497953850875_0.07669947226531804"},"directories":{},"publish_time":1497953851780,"_cnpm_publish_time":1497953851780,"_hasShrinkwrap":false},"3.0.0":{"name":"then-request","version":"3.0.0","description":"A request library that returns promises, inspired by request","keywords":[],"main":"lib/index.js","browser":"lib/browser.js","types":"lib/index.d.ts","files":["lib"],"dependencies":{"@types/concat-stream":"^1.6.0","@types/node":"^7.0.31","@types/qs":"^6.2.31","caseless":"~0.11.0","concat-stream":"^1.4.7","http-basic":"^5.0.3","http-response-object":"^2.0.3","promise":"^7.3.0","qs":"^6.1.0"},"devDependencies":{"browserify":"^8.1.1","exorcist":"^0.1.6","flowgen2":"^2.0.0-alpha.10","istanbul":"^0.3.5","minifyify":"^6.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","testit":"^1.2.0","typescript":"^2.3.4"},"scripts":{"pretest":"npm run build:types","test":"node test/index.js && istanbul cover test/index.js","prepublishOnly":"npm run build","prebuild":"rimraf dist && mkdirp dist","build":"npm run build:types && npm run build:full && npm run build:min","build:types":"tsc && flowgen lib/**/*","build:full":"browserify -d --standalone request lib/browser.js | exorcist -u request.js.map dist/request.js.map > dist/request.js","build:min":"browserify -d --standalone request lib/browser.js -p [minifyify --compressPath . --map request.min.js.map --output dist/request.min.js.map] > dist/request.min.js"},"repository":{"type":"git","url":"git+https://github.com/then/then-request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"747450295a21e36a0370fb130a8388f4beba25ec","bugs":{"url":"https://github.com/then/then-request/issues"},"homepage":"https://github.com/then/then-request#readme","_id":"then-request@3.0.0","_npmVersion":"5.0.3","_nodeVersion":"8.0.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"dist":{"shasum":"84e02b1f58733bd6e8ef62993ad0c14e4aced972","size":6981,"noattachment":false,"key":"/then-request/-/then-request-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-3.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/then-request-3.0.0.tgz_1497654990536_0.07625060412101448"},"directories":{},"publish_time":1497654991521,"_hasShrinkwrap":false,"_cnpm_publish_time":1497654991521},"2.2.0":{"name":"then-request","version":"2.2.0","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"caseless":"~0.11.0","concat-stream":"^1.4.7","http-basic":"^2.5.1","http-response-object":"^1.1.0","promise":"^7.1.1","qs":"^6.1.0"},"devDependencies":{"browserify":"^8.1.1","exorcist":"^0.1.6","istanbul":"^0.3.5","minifyify":"^6.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","testit":"^1.2.0"},"scripts":{"test":"node test/index.js && istanbul cover test/index.js","prebuild":"rimraf dist && mkdirp dist","prepublish":"npm run build","build":"npm run build:full && npm run build:min","build:full":"browserify -d --standalone request browser.js | exorcist -u request.js.map dist/request.js.map > dist/request.js","build:min":"browserify -d --standalone request browser.js -p [minifyify --compressPath . --map request.min.js.map --output dist/request.min.js.map] > dist/request.min.js"},"repository":{"type":"git","url":"https://github.com/then/then-request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"2d87fd2e1e9b3da25dfae13a73bc6db90ce0b085","bugs":{"url":"https://github.com/then/then-request/issues"},"homepage":"https://github.com/then/then-request","_id":"then-request@2.2.0","_shasum":"6678b32fa0ca218fe569981bbd8871b594060d81","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"6678b32fa0ca218fe569981bbd8871b594060d81","size":76047,"noattachment":false,"key":"/then-request/-/then-request-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-2.2.0.tgz"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/then-request-2.2.0.tgz_1456944435522_0.2877531563863158"},"directories":{},"publish_time":1456944438347,"_cnpm_publish_time":1456944438347,"_hasShrinkwrap":false},"2.1.1":{"name":"then-request","version":"2.1.1","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"caseless":"~0.9.0","concat-stream":"^1.4.7","http-basic":"^2.0.0","http-response-object":"^1.0.1","promise":"^6.0.1","qs":"^2.3.3"},"devDependencies":{"browserify":"^8.1.1","exorcist":"^0.1.6","istanbul":"^0.3.5","minifyify":"^6.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","testit":"^1.2.0"},"scripts":{"test":"node test/index.js && istanbul cover test/index.js","prebuild":"rimraf dist && mkdirp dist","prepublish":"npm run build","build":"npm run build:full && npm run build:min","build:full":"browserify -d --standalone request browser.js | exorcist -u request.js.map dist/request.js.map > dist/request.js","build:min":"browserify -d --standalone request browser.js -p [minifyify --compressPath . --map request.min.js.map --output dist/request.min.js.map] > dist/request.min.js"},"repository":{"type":"git","url":"https://github.com/then/then-request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"2738512d65a8e97aeaf4d22e8b9ba991d974d254","bugs":{"url":"https://github.com/then/then-request/issues"},"homepage":"https://github.com/then/then-request","_id":"then-request@2.1.1","_shasum":"4d3ff009c2fd57136308e5411086337681b1edf5","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"dist":{"shasum":"4d3ff009c2fd57136308e5411086337681b1edf5","size":35989,"noattachment":false,"key":"/then-request/-/then-request-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-2.1.1.tgz"},"directories":{},"publish_time":1423736516012,"_cnpm_publish_time":1423736516012,"_hasShrinkwrap":false},"2.1.0":{"name":"then-request","version":"2.1.0","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"promise":"^6.0.1","concat-stream":"^1.4.7","qs":"^2.3.3","http-response-object":"^1.0.1","http-basic":"^2.0.0"},"devDependencies":{"browserify":"^8.1.1","exorcist":"^0.1.6","istanbul":"^0.3.5","minifyify":"^6.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","testit":"^1.2.0"},"scripts":{"test":"node test/index.js && istanbul cover test/index.js","prebuild":"rimraf dist && mkdirp dist","prepublish":"npm run build","build":"npm run build:full && npm run build:min","build:full":"browserify -d --standalone request browser.js | exorcist -u request.js.map dist/request.js.map > dist/request.js","build:min":"browserify -d --standalone request browser.js -p [minifyify --compressPath . --map request.min.js.map --output dist/request.min.js.map] > dist/request.min.js"},"repository":{"type":"git","url":"https://github.com/then/request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"80889eadf3ed55b1e76d1b5dc78ab0ee1b28ab18","bugs":{"url":"https://github.com/then/request/issues"},"homepage":"https://github.com/then/request","_id":"then-request@2.1.0","_shasum":"54e8edf39953433da3f52ba3bd2fb0ff4c748ab6","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"dist":{"shasum":"54e8edf39953433da3f52ba3bd2fb0ff4c748ab6","size":35933,"noattachment":false,"key":"/then-request/-/then-request-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-2.1.0.tgz"},"directories":{},"publish_time":1422285494055,"_cnpm_publish_time":1422285494055,"_hasShrinkwrap":false},"2.0.3":{"name":"then-request","version":"2.0.3","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"promise":"^6.0.1","concat-stream":"^1.4.7","qs":"^2.3.3","http-response-object":"^1.0.1","http-basic":"^2.0.0"},"devDependencies":{"browserify":"^8.1.1","exorcist":"^0.1.6","istanbul":"^0.3.5","minifyify":"^6.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","testit":"^1.2.0"},"scripts":{"test":"node test/index.js && istanbul cover test/index.js","prebuild":"rimraf dist && mkdirp dist","prepublish":"npm run build","build":"npm run build:full && npm run build:min","build:full":"browserify -d --standalone request browser.js | exorcist -u request.js.map dist/request.js.map > dist/request.js","build:min":"browserify -d --standalone request browser.js -p [minifyify --compressPath . --map request.min.js.map --output dist/request.min.js.map] > dist/request.min.js"},"repository":{"type":"git","url":"https://github.com/then/request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"a039d061184d866bca7987879f2b473980f1030b","bugs":{"url":"https://github.com/then/request/issues"},"homepage":"https://github.com/then/request","_id":"then-request@2.0.3","_shasum":"3a7fa7a5f09421ad407f8a7a6b9af5236421ef58","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"dist":{"shasum":"3a7fa7a5f09421ad407f8a7a6b9af5236421ef58","size":33716,"noattachment":false,"key":"/then-request/-/then-request-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-2.0.3.tgz"},"directories":{},"publish_time":1421856268991,"_cnpm_publish_time":1421856268991,"_hasShrinkwrap":false},"2.0.2":{"name":"then-request","version":"2.0.2","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"promise":"^6.0.1","concat-stream":"^1.4.7","qs":"^2.3.3","http-response-object":"^1.0.1","http-basic":"^2.0.0"},"devDependencies":{"browserify":"^8.1.1","exorcist":"^0.1.6","istanbul":"^0.3.5","minifyify":"^6.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","testit":"^1.2.0"},"scripts":{"test":"node test/index.js && istanbul cover test/index.js","prebuild":"rimraf dist && mkdirp dist","prepublish":"npm run build","build":"npm run build:full && npm run build:min","build:full":"browserify -d --standalone request browser.js | exorcist -u request.js.map dist/request.js.map > dist/request.js","build:min":"browserify -d --standalone request browser.js -p [minifyify --compressPath . --map request.min.js.map --output dist/request.min.js.map] > dist/request.min.js"},"repository":{"type":"git","url":"https://github.com/then/request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"3e9e1ee0aeddfd16debaf269d4b7a39831ad43f8","bugs":{"url":"https://github.com/then/request/issues"},"homepage":"https://github.com/then/request","_id":"then-request@2.0.2","_shasum":"25667257c83afabdf1547c576459edd78a239165","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"dist":{"shasum":"25667257c83afabdf1547c576459edd78a239165","size":5786,"noattachment":false,"key":"/then-request/-/then-request-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-2.0.2.tgz"},"directories":{},"publish_time":1421855899697,"_cnpm_publish_time":1421855899697,"_hasShrinkwrap":false},"2.0.1":{"name":"then-request","version":"2.0.1","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"promise":"^6.0.1","concat-stream":"^1.4.7","qs":"^2.3.3","http-response-object":"^1.0.1","http-basic":"^2.0.0"},"devDependencies":{"testit":"^1.2.0","istanbul":"^0.3.5"},"scripts":{"test":"node test/index.js && istanbul cover test/index.js"},"repository":{"type":"git","url":"https://github.com/then/request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"e233a1f34dd6367ba0aa64597e912f9bf8e1ded5","bugs":{"url":"https://github.com/then/request/issues"},"homepage":"https://github.com/then/request","_id":"then-request@2.0.1","_shasum":"1fd93fbec6e7be06a66ea297e46d3e9eb235c83d","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"dist":{"shasum":"1fd93fbec6e7be06a66ea297e46d3e9eb235c83d","size":5587,"noattachment":false,"key":"/then-request/-/then-request-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-2.0.1.tgz"},"directories":{},"publish_time":1421279263398,"_cnpm_publish_time":1421279263398,"_hasShrinkwrap":false},"2.0.0":{"name":"then-request","version":"2.0.0","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"promise":"^5.0.0","concat-stream":"^1.4.6","qs":"^1.1.0","http-response-object":"^1.0.1","http-basic":"^2.0.0"},"devDependencies":{"testit":"^1.2.0","istanbul":"^0.3.0"},"scripts":{"test":"node test/index.js && istanbul cover test/index.js"},"repository":{"type":"git","url":"https://github.com/then/request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"a226380885e34e2b36a84aaaab602d9026876b1f","bugs":{"url":"https://github.com/then/request/issues"},"homepage":"https://github.com/then/request","_id":"then-request@2.0.0","_shasum":"8e5b8c2f5ff1df183010ca91c510214b7af0922d","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"dist":{"shasum":"8e5b8c2f5ff1df183010ca91c510214b7af0922d","size":5049,"noattachment":false,"key":"/then-request/-/then-request-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-2.0.0.tgz"},"deprecated":"Published in error, use 2.0.1","directories":{},"publish_time":1421279103036,"_cnpm_publish_time":1421279103036,"_hasShrinkwrap":false},"1.1.0":{"name":"then-request","version":"1.1.0","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"promise":"^6.0.1","concat-stream":"^1.4.7","qs":"^2.3.3","http-response-object":"^1.0.1","http-basic":"^1.1.1"},"devDependencies":{"testit":"^1.2.0","istanbul":"^0.3.5"},"scripts":{"test":"node test/index.js && istanbul cover test/index.js"},"repository":{"type":"git","url":"https://github.com/then/request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"140d662ebadb55363f32e5ae25ad6f55bcb8b29a","bugs":{"url":"https://github.com/then/request/issues"},"homepage":"https://github.com/then/request","_id":"then-request@1.1.0","_shasum":"e9cf2e979ce52ad537531d9340bd8ae77206bcb1","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"dist":{"shasum":"e9cf2e979ce52ad537531d9340bd8ae77206bcb1","size":5610,"noattachment":false,"key":"/then-request/-/then-request-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-1.1.0.tgz"},"directories":{},"publish_time":1418906495684,"_cnpm_publish_time":1418906495684,"_hasShrinkwrap":false},"1.0.5":{"name":"then-request","version":"1.0.5","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"promise":"^6.0.1","concat-stream":"^1.4.7","qs":"^2.3.3","http-response-object":"^1.0.1","http-basic":"^1.1.1"},"devDependencies":{"testit":"^1.2.0","istanbul":"^0.3.5"},"scripts":{"test":"node test/index.js && istanbul cover test/index.js"},"repository":{"type":"git","url":"https://github.com/then/request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"3c00a16aa8534b2a85be618b81b2b6bde9c62bba","bugs":{"url":"https://github.com/then/request/issues"},"homepage":"https://github.com/then/request","_id":"then-request@1.0.5","_shasum":"c6719931cc6fdd6c936596a4e77fb84010d19c5b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"dist":{"shasum":"c6719931cc6fdd6c936596a4e77fb84010d19c5b","size":5507,"noattachment":false,"key":"/then-request/-/then-request-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-1.0.5.tgz"},"directories":{},"publish_time":1418904210351,"_cnpm_publish_time":1418904210351,"_hasShrinkwrap":false},"1.0.4":{"name":"then-request","version":"1.0.4","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"promise":"^6.0.0","concat-stream":"^1.4.6","qs":"^2.2.3","http-response-object":"^1.0.1","http-basic":"^1.0.3"},"devDependencies":{"testit":"^1.2.0","istanbul":"^0.3.0"},"scripts":{"test":"node test/index.js && istanbul cover test/index.js"},"repository":{"type":"git","url":"https://github.com/then/request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"aa8abb6abf8929b98f685a13472b6043aeeec90d","bugs":{"url":"https://github.com/then/request/issues"},"homepage":"https://github.com/then/request","_id":"then-request@1.0.4","_shasum":"b49d4436e74777d756adb674d1dd80e201933cd5","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"dist":{"shasum":"b49d4436e74777d756adb674d1dd80e201933cd5","size":5503,"noattachment":false,"key":"/then-request/-/then-request-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-1.0.4.tgz"},"directories":{},"publish_time":1411997187776,"_cnpm_publish_time":1411997187776,"_hasShrinkwrap":false},"1.0.3":{"name":"then-request","version":"1.0.3","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"promise":"^5.0.0","concat-stream":"^1.4.6","qs":"^2.2.3","http-response-object":"^1.0.1","http-basic":"^1.0.3"},"devDependencies":{"testit":"^1.2.0","istanbul":"^0.3.0"},"scripts":{"test":"node test/index.js && istanbul cover test/index.js"},"repository":{"type":"git","url":"https://github.com/then/request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"f47a9569e7b88103ebe12d55396ab139214d6231","bugs":{"url":"https://github.com/then/request/issues"},"homepage":"https://github.com/then/request","_id":"then-request@1.0.3","_shasum":"e2d4efb7cba27878f8429fe810e34be7ea0b5b8d","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"dist":{"shasum":"e2d4efb7cba27878f8429fe810e34be7ea0b5b8d","size":5211,"noattachment":false,"key":"/then-request/-/then-request-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-1.0.3.tgz"},"directories":{},"publish_time":1410277660476,"_cnpm_publish_time":1410277660476,"_hasShrinkwrap":false},"1.0.2":{"name":"then-request","version":"1.0.2","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"promise":"^5.0.0","concat-stream":"^1.4.6","qs":"^1.1.0","http-response-object":"^1.0.1","http-basic":"^1.0.3"},"devDependencies":{"testit":"^1.2.0","istanbul":"^0.3.0"},"scripts":{"test":"node test/index.js && istanbul cover test/index.js"},"repository":{"type":"git","url":"https://github.com/then/request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"edc590a398c2279b085bfb0a219a598032a3026f","bugs":{"url":"https://github.com/then/request/issues"},"homepage":"https://github.com/then/request","_id":"then-request@1.0.2","_shasum":"1fedc28c47a01d3a87b060aad6e1f81b12b9e0b9","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"dist":{"shasum":"1fedc28c47a01d3a87b060aad6e1f81b12b9e0b9","size":5204,"noattachment":false,"key":"/then-request/-/then-request-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-1.0.2.tgz"},"directories":{},"publish_time":1410260368088,"_cnpm_publish_time":1410260368088,"_hasShrinkwrap":false},"1.0.1":{"name":"then-request","version":"1.0.1","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"promise":"^5.0.0","concat-stream":"^1.4.6","qs":"^1.1.0","http-response-object":"^1.0.1","http-basic":"^1.0.3"},"devDependencies":{"testit":"^1.2.0","istanbul":"^0.3.0"},"scripts":{"test":"node test/index.js && istanbul cover test/index.js"},"repository":{"type":"git","url":"https://github.com/then/request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"1a43364f08f114a954fccdaca76e5acb71c09877","bugs":{"url":"https://github.com/then/request/issues"},"homepage":"https://github.com/then/request","_id":"then-request@1.0.1","_shasum":"7cc45c88f56d23020c3b70067acf4b0aa84ccc8c","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"dist":{"shasum":"7cc45c88f56d23020c3b70067acf4b0aa84ccc8c","size":5046,"noattachment":false,"key":"/then-request/-/then-request-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-1.0.1.tgz"},"directories":{},"publish_time":1407412527820,"_cnpm_publish_time":1407412527820,"_hasShrinkwrap":false},"1.0.0":{"name":"then-request","version":"1.0.0","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"promise":"^5.0.0","concat-stream":"^1.4.1","qs":"^0.6.6","http-response-object":"^1.0.1","http-basic":"^1.0.2"},"devDependencies":{"testit":"^1.2.0","istanbul":"^0.3.0"},"scripts":{"test":"node test/index.js && istanbul cover test/index.js"},"repository":{"type":"git","url":"https://github.com/then/request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/then/request/issues"},"homepage":"https://github.com/then/request","_id":"then-request@1.0.0","dist":{"shasum":"7bbe11770068f3e281ded39050daf7d5211fac7b","size":5048,"noattachment":false,"key":"/then-request/-/then-request-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"directories":{},"publish_time":1406908843668,"_cnpm_publish_time":1406908843668,"_hasShrinkwrap":false},"0.0.4":{"name":"then-request","version":"0.0.4","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"request-shared":"0.0.1","promise":"~3.2.0","concat-stream":"~1.4.1"},"devDependencies":{"chromedriver":"~2.8.1","cabbie":"0.0.5","run-browser":"~1.2.0"},"scripts":{"test":"node test/server.js & node test/index.js","test-browser":"node test/server.js & run-browser tests/index.js"},"repository":{"type":"git","url":"https://github.com/then/request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/then/request/issues"},"homepage":"https://github.com/then/request","_id":"then-request@0.0.4","dist":{"shasum":"347f637faa6de9187e1ca0edea0b03b90c83308f","size":4240,"noattachment":false,"key":"/then-request/-/then-request-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-0.0.4.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"directories":{},"publish_time":1396449023544,"_cnpm_publish_time":1396449023544,"_hasShrinkwrap":false},"0.0.3":{"name":"then-request","version":"0.0.3","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"request-shared":"0.0.1","promise":"~3.2.0","concat-stream":"~1.4.1"},"devDependencies":{"chromedriver":"~2.8.1","cabbie":"0.0.5","run-browser":"~1.2.0"},"scripts":{"test":"node test/server.js & node test/index.js","test-browser":"node test/server.js & run-browser tests/index.js"},"repository":{"type":"git","url":"https://github.com/then/request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/then/request/issues"},"homepage":"https://github.com/then/request","_id":"then-request@0.0.3","dist":{"shasum":"512f6c4f45d0464800aa55116075883be7a22359","size":4236,"noattachment":false,"key":"/then-request/-/then-request-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-0.0.3.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"directories":{},"publish_time":1396448900822,"_cnpm_publish_time":1396448900822,"_hasShrinkwrap":false},"0.0.2":{"name":"then-request","version":"0.0.2","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"request-shared":"0.0.1","promise":"~3.2.0","concat-stream":"~1.4.1"},"devDependencies":{"chromedriver":"~2.8.1","cabbie":"0.0.5","run-browser":"~1.2.0"},"scripts":{"test":"node test/server.js & node test/index.js","test-browser":"node test/server.js & run-browser tests/index.js"},"repository":{"type":"git","url":"https://github.com/then/request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/then/request/issues"},"homepage":"https://github.com/then/request","_id":"then-request@0.0.2","dist":{"shasum":"ccf7031cc0b4781ec1e4a4418037eb8a22bb17af","size":4217,"noattachment":false,"key":"/then-request/-/then-request-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-0.0.2.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"directories":{},"publish_time":1396379465575,"_cnpm_publish_time":1396379465575,"_hasShrinkwrap":false},"0.0.1":{"name":"then-request","version":"0.0.1","description":"A request library that returns promises, inspired by request","keywords":[],"browser":"./browser.js","dependencies":{"request-shared":"0.0.1","promise":"~3.2.0"},"devDependencies":{"chromedriver":"~2.8.1","cabbie":"0.0.5","run-browser":"~1.2.0","concat-stream":"~1.4.1"},"scripts":{"test":"node test/server.js & node test/index.js","test-browser":"node test/server.js & run-browser tests/index.js"},"repository":{"type":"git","url":"https://github.com/then/request.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/then/request/issues"},"homepage":"https://github.com/then/request","_id":"then-request@0.0.1","dist":{"shasum":"afaa44ff5d19e47d1b06b8485f6aa384d36c1e27","size":4212,"noattachment":false,"key":"/then-request/-/then-request-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/then-request/download/then-request-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"npm:forbeslindesay","email":""}],"directories":{},"publish_time":1392043685684,"_cnpm_publish_time":1392043685684,"_hasShrinkwrap":false}},"readme":"# then-request\n\nA request library that returns promises and supports both browsers and node.js\n\n[![Build Status](https://img.shields.io/travis/then/then-request/master.svg)](https://travis-ci.org/then/then-request)\n[![Dependency Status](https://img.shields.io/david/then/then-request.svg)](https://david-dm.org/then/then-request)\n[![NPM version](https://img.shields.io/npm/v/then-request.svg)](https://www.npmjs.org/package/then-request)\n\n<a target='_blank' rel='nofollow' href='https://app.codesponsor.io/link/gg9sZwctSLxyov1sJwW6pfyS/then/then-request'>\n  <img alt='Sponsor' width='888' height='68' src='https://app.codesponsor.io/embed/gg9sZwctSLxyov1sJwW6pfyS/then/then-request.svg' />\n</a>\n\n## Installation\n\n    npm install then-request\n\n## Usage\n\n`request(method, url, options, callback?)`\n\nThe following examples all work on both client and server.\n\n```js\nvar request = require('then-request');\n\nrequest('GET', 'http://example.com').done(function (res) {\n  console.log(res.getBody());\n});\n\nrequest('POST', 'http://example.com/json-api', {json: {some: 'values'}}).getBody('utf8').then(JSON.parse).done(function (res) {\n  console.log(res);\n});\n\nvar FormData = request.FormData;\nvar data = new FormData();\n\ndata.append('some', 'values');\n\nrequest('POST', 'http://example.com/form-api', {form: data}).done(function (res) {\n  console.log(res.getBody());\n});\n```\n\nOr with ES6\n\n```js\nimport request, {FormData} from 'then-request';\n\nrequest('GET', 'http://example.com').done((res) => {\n  console.log(res.getBody());\n});\n\nrequest('POST', 'http://example.com/json-api', {json: {some: 'values'}}).getBody('utf8').then(JSON.parse).done((res) => {\n  console.log(res);\n});\n\nvar FormData = request.FormData;\nvar data = new FormData();\n\ndata.append('some', 'values');\n\nrequest('POST', 'http://example.com/form-api', {form: data}).done((res) => {\n  console.log(res.getBody());\n});\n```\n\n**Method:**\n\nAn HTTP method (e.g. `GET`, `POST`, `PUT`, `DELETE` or `HEAD`). It is not case sensitive.\n\n**URL:**\n\nA url as a string (e.g. `http://example.com`). Relative URLs are allowed in the browser.\n\n**Options:**\n\n - `qs` - an object containing querystring values to be appended to the uri\n - `headers` - http headers (default: `{}`)\n - `body` - body for PATCH, POST and PUT requests.  Must be a `Buffer`, `ReadableStream` or `String` (only strings are accepted client side)\n - `json` - sets `body` but to JSON representation of value and adds `Content-type: application/json`.  Does not have any affect on how the response is treated.\n - `form` - You can pass a `FormData` instance to the `form` option, this will manage all the appropriate headers for you.  Does not have any affect on how the response is treated.\n - `cache` - only used in node.js (browsers already have their own caches) Can be `'memory'`, `'file'` or your own custom implementaton (see https://github.com/ForbesLindesay/http-basic#implementing-a-cache).\n - `followRedirects` - defaults to `true` but can be explicitly set to `false` on node.js to prevent then-request following redirects automatically.\n - `maxRedirects` - sets the maximum number of redirects to follow before erroring on node.js (default: `Infinity`)\n - `allowRedirectHeaders` (default: `null`) - an array of headers allowed for redirects (none if `null`).\n - `gzip` - defaults to `true` but can be explicitly set to `false` on node.js to prevent then-request automatically supporting the gzip encoding on responses.\n - `agent` - (default: `false`) - An `Agent` to controll keep-alive. When set to `false` use an `Agent` with default values.\n - `timeout` (default: `false`) - times out if no response is returned within the given number of milliseconds.\n - `socketTimeout` (default: `false`) - calls `req.setTimeout` internally which causes the request to timeout if no new data is seen for the given number of milliseconds.  This option is ignored in the browser.\n - `retry` (default: `false`) - retry GET requests.  Set this to `true` to retry when the request errors or returns a status code greater than or equal to 400 (can also be a function that takes `(err, req, attemptNo) => shouldRetry`)\n - `retryDelay` (default: `200`) - the delay between retries (can also be set to a function that takes `(err, res, attemptNo) => delay`)\n - `maxRetries` (default: `5`) - the number of times to retry before giving up.\n\n\n**Returns:**\n\nA [Promise](https://www.promisejs.org/) is returned that eventually resolves to the `Response`.  The resulting Promise also has an additional `.getBody(encoding?)` method that is equivallent to calling `.then(function (res) { return res.getBody(encoding?); })`.\n\n### Response\n\nNote that even for status codes that represent an error, the promise will be resolved as the request succeeded.  You can call `getBody` if you want to error on invalid status codes.  The response has the following properties:\n\n - `statusCode` - a number representing the HTTP status code\n - `headers` - http response headers\n - `body` - a string if in the browser or a buffer if on the server\n - `url` - the URL that was requested (in the case of redirects on the server, this is the final url that was requested)\n\nIt also has a method `getBody(encoding?)` which looks like:\n\n```js\nfunction getBody(encoding) {\n  if (this.statusCode >= 300) {\n    var err = new Error('Server responded with status code ' + this.statusCode + ':\\n' + this.body.toString(encoding));\n    err.statusCode = this.statusCode;\n    err.headers = this.headers;\n    err.body = this.body;\n    throw err;\n  }\n  return encoding ? this.body.toString(encoding) : this.body;\n}\n```\n\n### FormData\n\n```js\nvar FormData = require('then-request').FormData;\n```\n\nForm data either exposes the node.js module, [form-data](https://www.npmjs.com/package/form-data), or the builtin browser object [FormData](https://developer.mozilla.org/en/docs/Web/API/FormData), as appropriate.\n\nThey have broadly the same API, with the exception that form-data handles node.js streams and Buffers, while FormData handles the browser's `File` Objects.\n\n## License\n\n  MIT\n","_attachments":{},"homepage":"https://github.com/then/then-request#readme","bugs":{"url":"https://github.com/then/then-request/issues"},"license":"MIT"}