Got: Detailed Overview & Metrics

v14.4.7(about 12 hours ago)

This package is actively maintained.Types definitions are provided via a separate npm package: @types/gotNumber of direct dependencies: 11Monthly npm downloads

Got is a popular and lightweight HTTP request library for Node.js that simplifies making HTTP requests with support for promises and async/await syntax. It offers a simple and intuitive API for sending HTTP requests with features like automatic JSON parsing, streaming, and handling of redirects. Got also provides built-in support for caching, retries, timeouts, and error handling, making it a versatile choice for handling HTTP requests in Node.js applications.

Compared to alternatives like Axios and node-fetch, Got stands out for its smaller bundle size, faster performance, and built-in features like caching and retries. It is actively maintained with regular updates and improvements, making it a reliable choice for handling HTTP requests.

Alternatives:
axios+
node-fetch+
superagent+
request-promise-native+
ky+
needle+
undici+
axios-retry+
fetch-h2+
bent+

Tags: node.jshttprequestpromiseasync/await