Request (deprecated): Detailed Overview & Metrics

v2.88.2(over 4 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 simplified HTTP client for Node.js that makes it easy to make HTTP requests to external servers. It supports various HTTP methods like GET, POST, PUT, DELETE, etc., and provides features for handling cookies, redirects, and streams. Request is widely used for making API calls, fetching data from web services, and interacting with external APIs.

However, Request has been deprecated in favor of modern alternatives like Axios, node-fetch, and got. These alternatives offer more features, better performance, and improved security. It is recommended to migrate to one of these alternatives for new projects and consider refactoring existing code that relies on the Request package.

Alternatives: axios, node-fetch, got

Tags: node.jshttp clientdeprecatedapihttp requests