{"_id":"req-then","_rev":"1034147","name":"req-then","description":"Simple http(s) request function, returning a promise. ","dist-tags":{"latest":"0.6.4"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"time":{"modified":"2026-10-16T02:37:58.000Z","created":"2015-10-25T16:28:23.059Z","0.6.4":"2017-06-29T11:27:13.017Z","0.6.3":"2017-06-29T11:21:49.658Z","0.6.2":"2017-06-18T12:09:56.911Z","0.6.1":"2017-02-18T20:26:09.209Z","0.6.0":"2017-02-18T20:21:05.187Z","0.5.1":"2016-11-01T21:35:48.664Z","0.5.0":"2016-09-19T19:38:20.992Z","0.4.1":"2016-08-23T21:18:26.050Z","0.4.0":"2016-08-23T20:41:59.688Z","0.3.4":"2016-08-07T19:51:00.405Z","0.3.3":"2016-07-14T21:58:32.511Z","0.3.2":"2016-07-14T21:27:36.429Z","0.3.1":"2016-07-14T20:41:51.116Z","0.3.0":"2016-07-14T20:16:34.016Z","0.2.4":"2015-11-25T20:54:40.647Z","0.2.3":"2015-11-23T14:16:49.681Z","0.2.2":"2015-10-25T17:22:37.691Z","0.2.1":"2015-10-25T16:35:09.941Z","0.2.0":"2015-10-25T16:28:23.059Z"},"users":{},"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"versions":{"0.6.4":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.6.4","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"lib/req-then.js","license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=4.0.0"},"scripts":{"test":"test-runner test.js","docs":"jsdoc2md -t README.hbs index.js -l js > README.md; echo","cover":"istanbul cover ./node_modules/.bin/test-runner test.js && cat coverage/lcov.info | ./node_modules/.bin/coveralls"},"dependencies":{"array-back":"^2.0.0","defer-promise":"^1.0.1","lodash.pick":"^4.4.0","stream-read-all":"^0.1.0","typical":"^2.6.1"},"devDependencies":{"coveralls":"^2.13.1","jsdoc-to-markdown":"^3.0.0","test-runner":"^0.4.0"},"gitHead":"1d7997054d6634702b5046e4eaf9e8e703705367","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.6.4","_npmVersion":"5.0.4","_nodeVersion":"8.1.2","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"integrity":"sha512-Uf7xsK1qPqPUetESHemNQ7nGtgOxngSFtlcAOOkx0lDAo+XRZpEA9QDrGBdyOfGq4b+a0z/D5gR2VJ+pp/dzBA==","shasum":"9f9c04626afd311ae01d727846a0a1075c0e1965","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.6.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGY9EAqTb5sSc11Oh7xtFWVwZeuolUqtPjuH7lWUvK8cAiEA3oAMsrQ6FfTU4BYmB7m9nTa+x/TFohLsYfTIgW/E7WM="}],"size":29704,"noattachment":false,"key":"/req-then/-/req-then-0.6.4.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/req-then-0.6.4.tgz_1498735631921_0.5842474256642163"},"directories":{},"publish_time":1498735633017,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1498735633017},"0.6.3":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.6.3","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"lib/req-then.js","license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=4.0.0"},"scripts":{"test":"test-runner test.js","docs":"jsdoc2md -t README.hbs index.js -l js > README.md; echo","cover":"istanbul cover ./node_modules/.bin/test-runner test.js && cat coverage/lcov.info | ./node_modules/.bin/coveralls"},"dependencies":{"array-back":"^2.0.0","defer-promise":"^1.0.1","lodash.pick":"^4.4.0","stream-read-all":"^0.1.0","typical":"^2.6.1"},"devDependencies":{"coveralls":"^2.13.1","jsdoc-to-markdown":"^3.0.0","test-runner":"^0.4.0"},"gitHead":"43ae4b12bcb65ffd86b0d002d084630d147fb001","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.6.3","_npmVersion":"5.0.4","_nodeVersion":"8.1.2","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"integrity":"sha512-L88ELl2ftJjJre5D7jUvM0tuB7D0q0yCFRthdYrljhsMfPUDaYjWvXwGLv9qQF5rBMDZ802RZ9xHGVO2tLJY5w==","shasum":"8327fe309e1bddc33dab7d982ad0063ab09fd016","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.6.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDf3fcYO2jg+6Qq6fy0rVLQdmpqk9o13DD9SguHkgwrpgIgCKcdYnsNh0KRCFf6565UoOtvFVJPEULUys/H1WSj67w="}],"size":29696,"noattachment":false,"key":"/req-then/-/req-then-0.6.3.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/req-then-0.6.3.tgz_1498735308598_0.3884224696084857"},"directories":{},"publish_time":1498735309658,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1498735309658},"0.6.2":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.6.2","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"lib/req-then.js","license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=4.0.0"},"scripts":{"test":"test-runner test.js","docs":"jsdoc2md -t README.hbs index.js -l js > README.md; echo","cover":"istanbul cover ./node_modules/.bin/test-runner test.js && cat coverage/lcov.info | ./node_modules/.bin/coveralls"},"dependencies":{"array-back":"^1.0.4","defer-promise":"^1.0.1","lodash.pick":"^4.4.0","stream-read-all":"^0.1.0","typical":"^2.6.1"},"devDependencies":{"coveralls":"^2.13.1","jsdoc-to-markdown":"^3.0.0","test-runner":"^0.4.0"},"gitHead":"b47ff7415fccd0b01767da997e6cf8ffec708859","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.6.2","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"integrity":"sha512-YRtnfZ1Bbe+LpUugKwSFcyn8UeIzCk/9rTepKxWZN550UHhUHiqTgaaKlgNTnpP5bY8DyUrh1TsY+ySnZi7MwQ==","shasum":"7f9e6ebbcab327adc9280aa92b3698d3fc1c5b0d","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.6.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBcmLQyv192QDYeUfsEOyI+7iabuBX9DUDx4GVFWlUPhAiB05JJeX0/qMyX7xJ6yP7fRYoHVe2cnEXPA33Axu8Cggg=="}],"size":29494,"noattachment":false,"key":"/req-then/-/req-then-0.6.2.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/req-then-0.6.2.tgz_1497787795840_0.06812083162367344"},"directories":{},"publish_time":1497787796911,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1497787796911},"0.6.1":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.6.1","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"lib/req-then.js","license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=4.0.0"},"scripts":{"test":"test-runner test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js -l js > README.md; echo","start":"node test/interactive/server.js"},"dependencies":{"array-back":"^1.0.4","defer-promise":"^1.0.1","lodash.pick":"^4.4.0","typical":"^2.6.0"},"devDependencies":{"jsdoc-to-markdown":"^3.0.0","test-runner":"^0.3.0"},"gitHead":"70fde4c4ce64e646ee551e35d0f855be4805a32e","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.6.1","_shasum":"e85af6b939ffcc4b4f145b7e51cae73e8f8052c9","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"e85af6b939ffcc4b4f145b7e51cae73e8f8052c9","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.6.1.tgz","integrity":"sha512-0DVS8hegtdRpOgzUOOdTUQ0iiEhw9ooYEJEO/ashD5TXt86n56//J/KPITdgRMbivipwK9V2eA4HHrBVEFedJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEm8rxdhfNXuZOVnbGrrpA611bOR7oEEqDWhA2z5v6HRAiEA6fNAEx2irMklxOk+r752FLKcJwDpOVe1tO/NJn4pIyU="}],"size":3716,"noattachment":false,"key":"/req-then/-/req-then-0.6.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/req-then-0.6.1.tgz_1487449568547_0.7859311767388135"},"directories":{},"publish_time":1487449569209,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1487449569209},"0.6.0":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.6.0","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"lib/req-then.js","bin":{"req-then":"bin/cli.js"},"license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=4.0.0"},"scripts":{"test":"test-runner test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js -l js > README.md; echo","start":"node test/interactive/server.js"},"dependencies":{"array-back":"^1.0.4","defer-promise":"^1.0.1","lodash.pick":"^4.4.0","typical":"^2.6.0"},"devDependencies":{"jsdoc-to-markdown":"^3.0.0","test-runner":"^0.3.0"},"gitHead":"4bb6dfed877400dcdc03f3573b86fa3d8b78ab75","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.6.0","_shasum":"8091b0ceb4a65d3c389b336b65e9e78800c4b06e","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"8091b0ceb4a65d3c389b336b65e9e78800c4b06e","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.6.0.tgz","integrity":"sha512-1vZu49OE7f3fFr3BPopUIVt1oJYtPx5QWLaRachxyeQKqMjBeBw/4eV5IL99uyF5+8wSGB9njTg6FFdevvCUzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHS6hqVjssF0nVS4qBWzACm3/9d2/j84ZVNmmOQPpYpwAiB+XahondQPkAnUybGTgHbb9f/gBvFuyNi7B/GJobyN5Q=="}],"size":3732,"noattachment":false,"key":"/req-then/-/req-then-0.6.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/req-then-0.6.0.tgz_1487449263130_0.6350967455655336"},"directories":{},"publish_time":1487449265187,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1487449265187},"0.5.1":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.5.1","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"index","bin":{"req-then":"bin/cli.js"},"license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=0.10.0"},"scripts":{"test":"test-runner test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js -l js > README.md; echo","start":"node test/interactive/server.js","es5":"rm -rf es5 && babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"},"dependencies":{"array-back":"^1.0.3","defer-promise":"^1.0.0","feature-detect-es6":"^1.3.1","lodash.pick":"^4.4.0","typical":"^2.6.0"},"devDependencies":{"babel-preset-es2015":"^6.18.0","jsdoc-to-markdown":"^2.0.1","test-runner":"^0.2.5"},"standard":{"ignore":["es5"]},"gitHead":"eab6393cf04c87897a36982517c07e6580d604c6","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.5.1","_shasum":"31c6e0b56f4ddd2acd6de0ba1bcea77b6079dfdf","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"31c6e0b56f4ddd2acd6de0ba1bcea77b6079dfdf","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.5.1.tgz","integrity":"sha512-ald8dmP4zgF87wWs1n+/TppCd9LB6zZfAWSqF/RFCQ/ImDoH6ro77vmfOLhwkgH2uB8mcn4fNbwL9DEbpKCwJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID1KbZiSvc8b+brPoVfDBusOKVmiqhZapyuCQkRAYLJWAiEAqzp03X/tjR0MRZ0W4KrJR8EatkGyMvDCVkIZB+n+Ubo="}],"size":4447,"noattachment":false,"key":"/req-then/-/req-then-0.5.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/req-then-0.5.1.tgz_1478036146901_0.6152960355393589"},"directories":{},"publish_time":1478036148664,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1478036148664},"0.5.0":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.5.0","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"index","bin":{"req-then":"bin/cli.js"},"license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js -l js > README.md; echo","start":"node test/interactive/server.js","es5":"rm -rf es5 && babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"},"dependencies":{"array-back":"^1.0.3","defer-promise":"^1.0.0","feature-detect-es6":"^1.3.1","lodash.pick":"^4.4.0","typical":"^2.6.0"},"devDependencies":{"babel-preset-es2015":"^6.14.0","jsdoc-to-markdown":"^2.0.0-alpha.11"},"gitHead":"ccbb6ef7fa2a4be4ccab769b22f362b8e25206e5","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.5.0","_shasum":"01995bb8fd42696b6f17e7597d815db5dc46948d","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.6.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"01995bb8fd42696b6f17e7597d815db5dc46948d","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.5.0.tgz","integrity":"sha512-HVV/P0hwModnwz7PcZt+MbdRUcat04JtsyDQI2pzX85BBcH1KFNG5BMtUeNPIyCRHNdHDt1AvrgsdTduyJckBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGWNDJyDde42H8EXOCt3CBzH9Qx7SuKMElYiZc2lNSzRAiBhIGgtFR85+7MchgaqkCcsmI1oQ3K0b3tqBUrQnXRgYw=="}],"size":4286,"noattachment":false,"key":"/req-then/-/req-then-0.5.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/req-then-0.5.0.tgz_1474313899063_0.8711310573853552"},"directories":{},"publish_time":1474313900992,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1474313900992},"0.4.1":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.4.1","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"index","bin":{"req-then":"bin/cli.js"},"license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js -l js > README.md; echo","start":"node test/interactive/server.js","es5":"rm -rf es5 && babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"},"dependencies":{"array-back":"^1.0.3","defer-promise":"^1.0.0","feature-detect-es6":"^1.3.1","lodash.pick":"^4.4.0","typical":"^2.5.0"},"devDependencies":{"babel-preset-es2015":"^6.13.2","jsdoc-to-markdown":"^2.0.0-alpha.11"},"gitHead":"7bcf4393a7dc75907707d7312f1e5c67ca5f826b","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.4.1","_shasum":"ededf2931668b81f9c55edcf079645dccf310a9e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"ededf2931668b81f9c55edcf079645dccf310a9e","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.4.1.tgz","integrity":"sha512-GORLJWrF2X9PnPPen5C0pdU4tc2px0nwUk9vBVH5YSfr8HX8DmOOtTfD5WeLc/o5vil0aT8uY6kk71HMv48DtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB03cyVjMsmXnw1uzvwJIso8NGrOqFVclG18FcMXiPZhAiEAjmkfzyHu1zWxnivRNRuxNvTRgS/bh2logfke0LJ0PMw="}],"size":4240,"noattachment":false,"key":"/req-then/-/req-then-0.4.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/req-then-0.4.1.tgz_1471987104325_0.18463302799500525"},"directories":{},"publish_time":1471987106050,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1471987106050},"0.4.0":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.4.0","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"index","bin":{"req-then":"bin/cli.js"},"license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js -l js > README.md; echo","start":"node test/interactive/server.js","es5":"rm -rf es5 && babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"},"dependencies":{"array-back":"^1.0.3","defer-promise":"^1.0.0","feature-detect-es6":"^1.3.1","lodash.pick":"^4.4.0","typical":"^2.5.0"},"devDependencies":{"babel-preset-es2015":"^6.13.2","jsdoc-to-markdown":"^2.0.0-alpha.11"},"gitHead":"4e0660955631d99d9bf2dbe4ce4022055ce3622e","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.4.0","_shasum":"464b35346464a2b1dcf0f5bdf7189a4cf2bfe063","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"464b35346464a2b1dcf0f5bdf7189a4cf2bfe063","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.4.0.tgz","integrity":"sha512-mkMrcsyu6Metgbwb1c17g59tSQN0bWe2XS+21efGw6wmt3ufKcPzNHTikBmPOhVicj+yBzDpDQ4mLvhjmSW+WQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKs8yBhN2jMUe5x9xzoFURHgklWXHagxMDVvQFqsUZoQIhAKKq2b6nY6+gpnPykWog1L8zqUf1OGycKPb0q4bduW92"}],"size":4226,"noattachment":false,"key":"/req-then/-/req-then-0.4.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/req-then-0.4.0.tgz_1471984917636_0.35656607267446816"},"directories":{},"publish_time":1471984919688,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1471984919688},"0.3.4":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.3.4","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"index","bin":{"req-then":"bin/cli.js"},"license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js -l js > README.md; echo","start":"node test/interactive/server.js","es5":"rm -rf es5 && babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"},"dependencies":{"array-back":"^1.0.3","defer-promise":"^1.0.0","feature-detect-es6":"^1.3.1","lodash.pick":"^4.2.1","typical":"^2.4.2"},"devDependencies":{"babel-preset-es2015":"^6.13.2","jsdoc-to-markdown":"^1.3.6"},"gitHead":"6c332cd869d58ab08d3558d6e71ed20a05fe3334","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.3.4","_shasum":"7d4f42ab116b4e509928b2180f0b848952aae1c4","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"7d4f42ab116b4e509928b2180f0b848952aae1c4","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.3.4.tgz","integrity":"sha512-GRXST4fYMGRFsN+Qzm4nPDtO7jgHMJ52zs4YoxzckuhJGOrkfRFATLyq4FeK3nfUVjM9LIdPgMYfzMz9fB4t1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDLLYh9Ixo2wW92E/bb6ubvciQeXdWF3u27PgwLtUDrZAiEAj74r0C784ZYnTxRgsxlxIXcaDFwiy/xGX+WKA1zmEUw="}],"size":3995,"noattachment":false,"key":"/req-then/-/req-then-0.3.4.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/req-then-0.3.4.tgz_1470599458470_0.08710780926048756"},"directories":{},"publish_time":1470599460405,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1470599460405},"0.3.3":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.3.3","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"./lib/req-then.js","bin":{"req-then":"bin/cli.js"},"license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js -l js > README.md; echo","start":"node test/interactive/server.js"},"dependencies":{"array-back":"^1.0.3","defer-promise":"^1.0.0","lodash.pick":"^4.2.1","typical":"^2.4.2"},"devDependencies":{"jsdoc-to-markdown":"^1.3.6"},"gitHead":"c04a4eff4e43d3ae5c385abd1c2c115a0be1810e","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.3.3","_shasum":"3e867a680a247336979348ca0046e137e776b4ef","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"3e867a680a247336979348ca0046e137e776b4ef","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.3.3.tgz","integrity":"sha512-/FLpOoFp0r7hQidtRNltPDuSxjc57TdY5udbB5tZfrxeOrs7KCnFhEoe5jLJpDvHr/cdmiR93gSTx98otBCBeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC41jx8KEkVpU2ME1vBOL+k/hz+gQzeYVXC5WFikG2kOAIhAJRM4zE8hmAVfdREo/IBYHzbW4tyCXGPG6wUahdJcWrY"}],"size":3571,"noattachment":false,"key":"/req-then/-/req-then-0.3.3.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/req-then-0.3.3.tgz_1468533510107_0.4710455625317991"},"directories":{},"publish_time":1468533512511,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1468533512511},"0.3.2":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.3.2","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"./lib/req-then.js","bin":{"req-then":"bin/cli.js"},"license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js -l js > README.md; echo","start":"node test/interactive/server.js"},"dependencies":{"array-back":"^1.0.3","defer-promise":"^1.0.0","lodash.pick":"^4.2.1","typical":"^2.4.2"},"devDependencies":{"jsdoc-to-markdown":"^1.3.6"},"gitHead":"e47ef5acbb6e4226633a88cfddbf27907f668bad","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.3.2","_shasum":"082135b59e1b1b5d4ddc0efe00cb93b90d785921","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"082135b59e1b1b5d4ddc0efe00cb93b90d785921","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.3.2.tgz","integrity":"sha512-ZWQjcH3vgmhGnMXplmMquBu9EjL6Fdm00VYSDer9jz/GU5B2fhLI5w50UTu2Bc5Qo9wb7oTUIN2Nhxyx2VcvPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGKoT9sn/C+JnkG7/xCzMHw6YwjyULISGq9S8lPjNyS/AiAg0O4J/UrO27BWTU9+iEVSf2eDJ6mBtskSP07j+cAqXQ=="}],"size":3572,"noattachment":false,"key":"/req-then/-/req-then-0.3.2.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/req-then-0.3.2.tgz_1468531653930_0.09168459381908178"},"directories":{},"publish_time":1468531656429,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1468531656429},"0.3.1":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.3.1","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"./lib/req-then.js","bin":{"req-then":"bin/cli.js"},"license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js -l js > README.md; echo","start":"node test/interactive/server.js"},"dependencies":{"array-back":"^1.0.3","defer-promise":"^1.0.0","lodash.pick":"^4.2.1","typical":"^2.4.2"},"devDependencies":{"jsdoc-to-markdown":"^1.3.6"},"gitHead":"9592d4b60e3c893ff62dc22256343f9a360053ba","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.3.1","_shasum":"62d9520acccf905086543caeb367de66bcd4c162","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"62d9520acccf905086543caeb367de66bcd4c162","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.3.1.tgz","integrity":"sha512-cVYYUgTTBMcgZKe7rXpVKEtMhACTZUcfICjmkt9ySIwDwcD2Yn7tsrCfEqZqWiSRx5wPMHXzOAiVm/2INz+5tA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrJ27MsSoCbLVAHBrkf6a4MobRky6IaJ35t2XNvLyZOQIgEa1XLtwjy8UQ476FXfL+WK/1U0xfHFfHkIvqMlTzhEI="}],"size":3579,"noattachment":false,"key":"/req-then/-/req-then-0.3.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/req-then-0.3.1.tgz_1468528908586_0.4111403317656368"},"directories":{},"publish_time":1468528911116,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1468528911116},"0.3.0":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.3.0","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"./lib/req-then.js","bin":{"req-then":"bin/cli.js"},"license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js -l js > README.md; echo","start":"node test/interactive/server.js"},"dependencies":{"array-back":"^1.0.3","defer-promise":"^1.0.0","lodash.pick":"^4.2.1","then-fs":"^2.0.0","typical":"^2.4.2"},"devDependencies":{"jsdoc-to-markdown":"^1.3.6"},"gitHead":"d73e4597719976a451731b7a9aba19ff9c6ec6e5","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.3.0","_shasum":"1fa88a33802a0be6acf4bc46aea2c0e02f539d10","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"1fa88a33802a0be6acf4bc46aea2c0e02f539d10","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.3.0.tgz","integrity":"sha512-YqKD2vvLS8cgO8PjUquuLlIT00ncm7ouiaUSm87uec/AlvYi1rQJK718eV+O+fwLOqUdg9yfdO15xlNTR6ZtxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFwBz+dl3tSpxCOwjCJ9A1Y8aaecjcAQMX73n7s4StlKAiAUNMspa8flbt6jV8u9obgqZzdkziMMsV8+o4sPlZV5tQ=="}],"size":3707,"noattachment":false,"key":"/req-then/-/req-then-0.3.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/req-then-0.3.0.tgz_1468527391497_0.2114610478747636"},"directories":{},"publish_time":1468527394016,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1468527394016},"0.2.4":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.2.4","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"./lib/req-then.js","bin":{"request":"bin/cli.js"},"license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js -l js > README.md; echo","start":"node test/interactive/server.js"},"dependencies":{"defer-promise":"^0.1.0","object-tools":"^2","typical":"^2.4.0"},"devDependencies":{"jsdoc-to-markdown":"^1.2.0"},"gitHead":"b532cc53d7656fd7cd612b628a0f50641a3d2cdf","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.2.4","_shasum":"95883868a24fba1beb99aadc4b809698b335ce26","_from":".","_npmVersion":"3.5.0","_nodeVersion":"5.1.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"95883868a24fba1beb99aadc4b809698b335ce26","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.2.4.tgz","integrity":"sha512-5Iqqu1fd67CFO0KXbvZnpAB1/QluNSuhs0PQfk5spthgnvvvJlQ+ler25DuD4yOIpC74F7vQ7WoA68olJf+z3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF0JhJJlMmvkoDyesuthWEn9rUVIl6GcJ8q2RaL3hOzyAiEA89E1K4iSHBi0J1C7WoYz6RIMYSfqJcCPPMq9JcChFT0="}],"size":3747,"noattachment":false,"key":"/req-then/-/req-then-0.2.4.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1448484880647,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1448484880647},"0.2.3":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.2.3","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"./lib/req-then.js","bin":{"request":"bin/cli.js"},"license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js -l js > README.md; echo","start":"node test/interactive/server.js"},"dependencies":{"defer-promise":"^0.1.0","object-tools":"^2","typical":"^2.4.0"},"devDependencies":{"jsdoc-to-markdown":"^1.2.0"},"gitHead":"72436ab8c1d12cc17fcb6a50ac8aaea9b6cd7773","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.2.3","_shasum":"fa544662d66b6f8e132d673e73d42cb4fca899d0","_from":".","_npmVersion":"3.5.0","_nodeVersion":"5.1.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"fa544662d66b6f8e132d673e73d42cb4fca899d0","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.2.3.tgz","integrity":"sha512-3/k9bZX3PkkbHmOwDgc6ud35Ldy/5x/CmTN7z9dPSlwR/r0cxdsPKek53EXn7jYcglwXz4AmgvQUpduwGwFJJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkBc9dgv/d/sv/Wf4lKw+wufwHpcizCseda4c6kg8xtgIhAIYs4kKj1GAo2txG2F9p7+8pDLJrR2kZGK2ZBBwTSV5y"}],"size":3741,"noattachment":false,"key":"/req-then/-/req-then-0.2.3.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1448288209681,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1448288209681},"0.2.2":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.2.2","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"./lib/req-then.js","bin":{"request":"bin/cli.js"},"license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js -l js > README.md; echo","start":"node test/interactive/server.js"},"dependencies":{"defer-promise":"^0.1.0","object-tools":"^2"},"devDependencies":{"jsdoc-to-markdown":"^1.2.0"},"gitHead":"9be6cf2fb097e4335422cca02846786324ee1439","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.2.2","_shasum":"2a55b7f279415c1154abd9c6e986af10b21642f4","_from":".","_npmVersion":"3.3.10","_nodeVersion":"4.2.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"2a55b7f279415c1154abd9c6e986af10b21642f4","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.2.2.tgz","integrity":"sha512-iUF/wU54ilDKjSK/HPG7yJjY1Mnu2lFTPVMe5HIcuhI4QyV5poq86oqEafUgCdSgkBP+p2hcG3xI/N+ZOSpcag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXIDH5lCItSL633xR/Kh0M9jMxyDvd3XwkndFySaZJcQIgDDZJYBZ6gDQcKrn0MXv9bPke7IScJ8xn3G84mA3GlAU="}],"size":3482,"noattachment":false,"key":"/req-then/-/req-then-0.2.2.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1445793757691,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1445793757691},"0.2.1":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.2.1","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"./lib/req-then.js","bin":{"request":"bin/cli.js"},"license":"MIT","keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js -l js > README.md; echo","start":"node test/interactive/server.js"},"dependencies":{"object-tools":"^2"},"devDependencies":{"jsdoc-to-markdown":"^1.2.0"},"gitHead":"4a3e6179105d840b5d759f49a069e407d447febc","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.2.1","_shasum":"718d88341d6386e6b0270ba8d09516f293601c2f","_from":".","_npmVersion":"3.3.10","_nodeVersion":"4.2.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"718d88341d6386e6b0270ba8d09516f293601c2f","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.2.1.tgz","integrity":"sha512-FyLXS9mfHwGa+ou0EibZ6QDg6H/2nfrwoSpEsn+yljbAvAyd2O6Fy1zhX3JZjIoSoXhpgxYLkpWi6NSoPl4/cw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeE5RKCxXcPZcCiXdf2m59Tt2KqYTUoqEfdJJbPicCngIhAIr9JwWYf7r3Wa8e86toIatt15Du7KfEt6rCBwe/aJDt"}],"size":3549,"noattachment":false,"key":"/req-then/-/req-then-0.2.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1445790909941,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1445790909941},"0.2.0":{"name":"req-then","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.2.0","description":"Simple http(s) request function, returning a promise. ","repository":{"type":"git","url":"git+https://github.com/75lb/req-then.git"},"main":"./lib/req-then.js","bin":{"request":"bin/cli.js"},"keywords":["http","https","request","promise","then","req","es6","native"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md lib/*.js -l js > README.md; echo","start":"node test/interactive/server.js"},"dependencies":{"object-tools":"^2"},"devDependencies":{"jsdoc-to-markdown":"^1.2.0"},"gitHead":"b0e98c59fb0ba9920319cc88fd17e8881f6e4747","bugs":{"url":"https://github.com/75lb/req-then/issues"},"homepage":"https://github.com/75lb/req-then#readme","_id":"req-then@0.2.0","_shasum":"7eabcabaa0ca939d9cb77e35ba6278970bea57ae","_from":".","_npmVersion":"3.3.10","_nodeVersion":"4.2.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"7eabcabaa0ca939d9cb77e35ba6278970bea57ae","tarball":"http://registry-npm.ywwl.com/req-then/download/req-then-0.2.0.tgz","integrity":"sha512-bPs1RmkP5Ow2PyPxzn67X4j/Z9vWZnzsctekBeqCOPCNVBn6iP0bWqKp6TBp52UHe0q4BaGjusYEFAECVzSbVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDR+ZhqdTAYO4G9GM1H0prblHCLPuomnwllqGdmMRoDCAIhAK3Bv5AydcX/yFvBlDfp5C9tkuHOu5TTSCgOe8QZLodD"}],"size":2570,"noattachment":false,"key":"/req-then/-/req-then-0.2.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1445790503059,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1445790503059}},"readme":"[![view on npm](http://img.shields.io/npm/v/req-then.svg)](https://www.npmjs.org/package/req-then)\n[![npm module downloads](http://img.shields.io/npm/dt/req-then.svg)](https://www.npmjs.org/package/req-then)\n[![Dependency Status](https://david-dm.org/75lb/req-then.svg)](https://david-dm.org/75lb/req-then)\n[![Coverage Status](https://coveralls.io/repos/github/75lb/req-then/badge.svg)](https://coveralls.io/github/75lb/req-then)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)\n\n<a name=\"module_req-then\"></a>\n\n## req-then\nWraps node's built-in http(s) `request` function with a few extras:\n\n- Returns a promise, resolving to an object containing the data, node response and original request.\n- Automatically selects `http` or `https` transport depending on the input URL.\n- Cancellable (which `fetch` is not).\n\n**Example**  \n```js\nconst request = require('req-then')\n\nrequest('http://www.bbc.co.uk')\n  .then(response => {\n    console.log('Response data received', response.data)\n    console.log('The original request options', response.req)\n    console.log('The nodejs response instance', response.res)\n  })\n  .catch(console.error)\n```\n**Example**  \n```js\nconst request = require('req-then')\nconst url = require('url')\nconst reqOptions = url.parse('http://www.bbc.co.uk')\nconst controller = {}\nreqOptions.controller = controller\nrequest(reqOptions)\n  .then(response => {\n    console.log('Response data received', response.data)\n  })\n\n// kill the request and close the socket\ncontroller.abort()\n```\n<a name=\"exp_module_req-then--request\"></a>\n\n### request(reqOptions, [data]) ⇒ <code>external:Promise</code> ⏏\nReturns a promise for the response.\n\n**Kind**: Exported function  \n**Resolve**: <code>object</code> - `res` will be the node response object, `data` will be the data, `req` the original request.  \n**Reject**: <code>Error</code> - If aborted, the `name` property of the error will be `aborted`.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| reqOptions | <code>string</code> \\| <code>object</code> | Target url string or a standard node.js http request options object. |\n| [reqOptions.controller] | <code>object</code> | If supplied, an `.abort()` method will be created on it which, if invoked, will cancel the request. Cancelling will cause the returned promise to reject with an `'aborted'` error. |\n| [data] | <code>\\*</code> | Data to send with the request. |\n\n\n* * *\n\n&copy; 2015-17 Lloyd Brookes \\<75pound@gmail.com\\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).\n","_attachments":{},"homepage":"https://github.com/75lb/req-then#readme","bugs":{"url":"https://github.com/75lb/req-then/issues"},"license":"MIT"}