Skip to content

krusty-krab/request-then

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

request-then

A mashup of request with then/promise

Build Status NPM version

Install

npm install request-then --save

Example

var request = require('request-then');

request('http://example.com')
  .then(function handleResponse (response) {
    console.log(response);
  }, function handleError (error) {
    console.log(error);
  });

About

A mashup of request with then/promise

Resources

License

Stars

Watchers

Forks

Packages

No packages published