Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 363 Bytes

File metadata and controls

19 lines (15 loc) · 363 Bytes

Blueagent

Bluebird + Superagent = A really cool Promise based HTTP request library

Download

The source is available for download from npm or here on github

npm install blueagent
blueagent
  .get('http://someurl')
  .then(function (resp) {  
    console.log(resp.body);
  })
  .catch(function (err) {
    console.log(err);
  });