Got: Detailed Overview & Metrics

v14.2.1(2 months 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 a clean and concise API. It supports both traditional callback-based usage and modern Promise-based syntax, making it versatile and easy to work with. Got provides features like automatic retries, timeouts, and request cancellation, along with support for streams and advanced options for customization.

Compared to other HTTP request libraries like Axios or node-fetch, Got stands out for its simplicity, performance, and small footprint. It is actively maintained with regular updates and bug fixes, making it a reliable choice for handling HTTP requests in Node.js applications.

Alternatives:
axios+
node-fetch+
ky+
superagent+
bent+
needle+
isomorphic-fetch+
wretch+
make-fetch-happen+
snekfetch+

Tags: node.jshttprequestlibrarypromise