0.1.0 • Published 9 years ago

superpromise v0.1.0

Weekly downloads
1
License
ISC
Repository
-
Last release
9 years ago

Super Promise

wrap super agent requests in promises

example:

const superagent = require('superagent');
const sp = require('superpromise');

const request = superagent.get('http://www.google.com');
sp(request).then(function(res){
  // success
}).catch(function(err) {
  // failure
});
0.1.0

9 years ago