superpromise

0.1.0 • Public • Published

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
});

Readme

Keywords

none

Package Sidebar

Install

npm i superpromise

Weekly Downloads

1

Version

0.1.0

License

ISC

Last publish

Collaborators

  • slugbyte