quentinadam-request

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i quentinadam-request

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • quentinadam