Request (deprecated): Detailed Overview & Metrics

v2.88.2(almost 5 years ago)

This package is deprecated: request has been deprecated, see https://github.com/request/request/issues/3142Types definitions are provided via a separate npm package: @types/requestNumber of direct dependencies: 20Monthly npm downloads

Request is a popular and versatile HTTP client library for Node.js, designed to simplify making HTTP requests and handling responses. It supports various HTTP methods, including GET, POST, PUT, DELETE, and more, and provides features like streaming, cookies, and authentication. Request allows for easy customization of headers, query parameters, and request body, making it suitable for a wide range of use cases.

While Request has been widely used in the past, it is now considered deprecated and no longer actively maintained. It is recommended to migrate to alternative libraries like Axios, node-fetch, or got, which offer modern features, better performance, and ongoing support.

Alternatives: axios, node-fetch, got

Tags: node.jshttpclientrequestresponse