request-promised

1.0.2 • Public • Published

Request-Promised

A promised wrapper for request

dependencies Status Build Status npm version

Installation

Install this module locally with the following command:

npm install request-promised

Save to dependencies or dev-dependencies:

npm install --save request-promised
npm install --save-dev request-promised

Usage

Example:

const request = require('request-promised');
 
request.get("http://www.example.com").then(response => {
    expect(response.statusCode).toBe(200);
});

Tests

Run the tests with the following command:

npm test

Readme

Keywords

none

Package Sidebar

Install

npm i request-promised

Weekly Downloads

3

Version

1.0.2

License

MIT

Last publish

Collaborators

  • koola