1.0.2 • Published 7 years ago

request-promised v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

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