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 npm package used for making HTTP requests in Node.js applications. It provides a simple and flexible API for sending HTTP requests to servers and handling responses. Request supports various HTTP methods like GET, POST, PUT, DELETE, etc., and allows customization of headers, query parameters, and request body.

While Request has been widely used in the past, it is now considered deprecated and no longer actively maintained. The package has known security vulnerabilities and performance issues. It is recommended to switch to modern alternatives like Axios, node-fetch, or got for making HTTP requests in Node.js applications.

Alternatives:
axios+
node-fetch+
got+
superagent+
needle+
ky+
undici+
fetch+
phin+
httpie+

Tags: node.jshttprequestdeprecatedhttp-client