Skip to content

Commit

Permalink
name conflict npm
Browse files Browse the repository at this point in the history
  • Loading branch information
void666 committed Mar 13, 2018
1 parent 9061c4b commit 75ac41d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## request-promise-retry
[![npm version](https://badge.fury.io/js/request-promise-retry.svg)](https://badge.fury.io/js/request-promise-retry)
[![npm downloads](https://img.shields.io/npm/dt/request-promise-retry.svg)](https://img.shields.io/npm/dt/request-promise-retry.svg)
## request-promise-retry
### `npm : promise-request-retry`
[![npm version](https://badge.fury.io/js/promise-request-retry.svg)](https://badge.fury.io/js/promise-request-retry)
[![npm downloads](https://img.shields.io/npm/dt/promise-request-retry.svg)](https://img.shields.io/npm/dt/promise-request-retry)
[![coverage status](https://coveralls.io/repos/github/void666/request-promise-retry/badge.svg?branch=master)](https://coveralls.io/github/void666/request-promise-retry?branch=master)
[![build status](https://travis-ci.org/void666/request-promise-retry.svg?branch=master)](https://travis-ci.org/void666/request-promise-retry)

Expand All @@ -13,7 +14,7 @@ Simple wrapper on top of [request-promise](https://github.com/request/request-pr

#### GET Request sample with retry
```
var rp = require('request-promise-retry');
var rp = require('promise-request-retry');
var options = {
uri: 'https://api.github.com/user/repos',
qs: {
Expand All @@ -37,7 +38,7 @@ rp(options)
For rest of samples, please refer [`request-promise` documentation](https://github.com/request/request-promise).

### Installation
`npm install request-promise-retry`
`npm install promise-request-retry`

### Test
`npm test`
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "request-promise-retry",
"name": "promise-request-retry",
"version": "0.0.1",
"description": "Simple wrapper on request-promise for retry mechanism",
"main": "index.js",
Expand Down

0 comments on commit 75ac41d

Please sign in to comment.