quentinadam-request
v0.0.1
Published
Promisified wrapper around request
Downloads
1
Readme
quentinadam-request
This simple module wraps Mikeal's request
module and returns a promise.
Installation
$ npm install quentinadam-request
Usage
const request = require('quentinadam-request');
request('https://www.google.com').then(({statusCode, headers, body}) => {
console.log(body);
}).catch((error) => {
console.error(error);
});