Skip to content

Commit 873d156

Browse files
authoredFeb 15, 2020
Merge pull request #341 from shisama/patch-1
docs: deprecate this package
2 parents b4dafe4 + 052331d commit 873d156

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎README.md

+7
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@
1010
[![Dependency Status](https://img.shields.io/david/request/request-promise.svg?style=flat-square&maxAge=2592000)](https://david-dm.org/request/request-promise)
1111
[![Known Vulnerabilities](https://snyk.io/test/npm/request-promise/badge.svg?style=flat-square&maxAge=2592000)](https://snyk.io/test/npm/request-promise)
1212

13+
# Deprecated!
14+
15+
As of Feb 11th 2020, [`request`](https://github.com/request/request) is fully deprecated. No new changes are expected to land. In fact, none have landed for some time.
16+
This package is also deprecated because it depends on `request`.
17+
18+
---
19+
1320
The simplified HTTP request client 'request' with Promise support. Powered by Bluebird.
1421

1522
[Request](https://github.com/request/request) and [Bluebird](https://github.com/petkaantonov/bluebird) are pretty awesome, but I found myself using the same design pattern. Request-Promise adds a Bluebird-powered `.then(...)` method to Request call objects. By default, http response codes other than 2xx will cause the promise to be rejected. This can be overwritten by setting `options.simple = false`.

0 commit comments

Comments
 (0)
Please sign in to comment.