{"name":"questor","version":"1.0.0-alpha.2","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":{"bluebird":"~0.11.6-0","stream-browserify":"~0.1.2","bl":"~0.7.0","underscore-contrib":"~0.2.1"},"bugs":{"url":"https://github.com/ehd/questor/issues"},"homepage":"https://github.com/ehd/questor","_id":"questor@1.0.0-alpha.2","dist":{"shasum":"b1ce5930f35521cb3a2a3cb39cff4a55f085e719","tarball":"http://registry-npm.ywwl.com/questor/download/questor-1.0.0-alpha.2.tgz","integrity":"sha512-Y54FvalN+xvWue2PX6hq0YW/569JFd7Hkc/9W41bEoK5+YY0pHya/DrhWDsf8ZD9KxDU1uVfD+WvGwKfftyh7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB1Ndz/ooVtzRteDUOaVpphnAm5DoOm0QD0kq9ULiq3KAiAvpD1VOdS8otTxqRVcFdYtAKOrbwmy8boHSShz2Pk4fA=="}],"size":1211,"noattachment":false,"key":"/questor/-/questor-1.0.0-alpha.2.tgz"},"_from":".","_npmVersion":"1.3.17","_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":1389260904711,"_cnpm_publish_time":1389260904711,"dist-tags":{"latest":"1.0.1"}}