{"name":"questor","version":"1.0.0-alpha","description":"Wrap hyperquest in promise","main":"index.js","repository":{"type":"git","url":"git@github.com:ehd/questor.git"},"author":{"name":"Stephan Seidt","email":"evilhackerdude@gmail.com"},"license":"MIT","dependencies":{"bl":"~0.4.1","bluebird":"~0.9.0-0","underscore-contrib":"~0.1.4"},"_id":"questor@1.0.0-alpha","dist":{"shasum":"129826a8fc963e0f7fd0785a24aafbfd43e555ff","tarball":"http://registry-npm.ywwl.com/questor/download/questor-1.0.0-alpha.tgz","integrity":"sha512-fS/wolRVr0ym/w9aquJPcx7tkjetIPwFVbIKFadGnfwq2TpZ70/zVPZyW3F5rWJ0BfftwDMoUXjyilZi3iFZQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1AJPOu//GOO0og4qlQ43rGMOfx0L3gmNB0q7wxMrxVQIgQXBNRqnjOeWyW6BaGGiPdJYbe+U62fkIksywd6jBOkE="}],"size":969,"noattachment":false,"key":"/questor/-/questor-1.0.0-alpha.tgz"},"_npmVersion":"1.1.71","_npmUser":{"name":"evilhackerdude","email":"evilhackerdude@gmail.com"},"maintainers":[{"name":"evilhackerdude","email":"evilhackerdude@gmail.com"}],"directories":{},"readme":"# questor\n\nPromise based HTTP client inspired by clj-http\n\n## Usage\n\n```javascript\nvar questor = require('questor');\n\nquestor('https://github.com').then(function (res) {\n  // Request was successful\n  \n  console.log(res.body); // Contains the response body\n  console.log(res.headers); // Contains the response headers\n  console.log(res.status); // Contains the response status code\n}, function (err) {\n  // Request failed\n  console.log(err);\n});\n```\n\n## TODO\n\n- Small resulting browserify bundle\n- Streaming request and response bodies\n- Types for requests, responses and errors\n","publish_time":1382426499414,"_cnpm_publish_time":1382426499414,"dist-tags":{"latest":"1.0.1"}}