diff --git a/README.md b/README.md index 3da51b3..9afaaa8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Request-retry [![Deps](https://david-dm.org/FGRibreau/node-request-retry.png)](https://david-dm.org/FGRibreau/node-request-retry) +![npm](https://nodei.co/npm/requestretry.png) + When the connection fails with one of `ECONNRESET`, `ENOTFOUND`, `ESOCKETTIMEDOUT`, `ETIMEDOUT`, `ECONNREFUSED` or when an HTTP 5xx error occurrs, the request will automatically be re-attempted as these are often recoverable errors and will go away on retry. # Usage