Skip to content

Commit

Permalink
docs: deprecate this package
Browse files Browse the repository at this point in the history
This package will be deprecated as well as request. Thank you very much for your great works.
'request-promise-native' has already been deprecated.(request/request-promise-native#57)
  • Loading branch information
shisama committed Feb 15, 2020
1 parent b4dafe4 commit 052331d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -10,6 +10,13 @@
[![Dependency Status](https://img.shields.io/david/request/request-promise.svg?style=flat-square&maxAge=2592000)](https://david-dm.org/request/request-promise)
[![Known Vulnerabilities](https://snyk.io/test/npm/request-promise/badge.svg?style=flat-square&maxAge=2592000)](https://snyk.io/test/npm/request-promise)

# Deprecated!

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.
This package is also deprecated because it depends on `request`.

---

The simplified HTTP request client 'request' with Promise support. Powered by Bluebird.

[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`.
Expand Down

0 comments on commit 052331d

Please sign in to comment.