pr

promising-request

A promises-based wrapper for request

Showing:

Popularity

Downloads/wk

0

GitHub Stars

0

Maintenance

Last Commit

1yr ago

Contributors

2

Package

Dependencies

3

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

NPM version Build Status Dependency Status Dev Dependency Status

A promises-based wrapper for request

Install

$ npm install --save promising-request

Usage

Use everything as you normally would use if it were request but every HTTP method returns a promise.

var promisingRequest = require('promising-request');

var promisedLuke = promisingRequest.get('http://swapi.co/api/people/1');

promisedLuke.then(function(res) {
  //fiddle with response
}, function(err) {
  //or handle the errors
});

License

MIT © Fábio Oliveira

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial