Got: Detailed Overview & Metrics

v14.4.4(17 days 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 HTTP and HTTPS requests, providing features like automatic retries, timeouts, and streaming responses. Got also offers built-in support for promises and async/await syntax, making it easy to work with asynchronous operations.

Compared to other HTTP request libraries like Axios or node-fetch, Got stands out for its smaller bundle size, faster performance, and simpler API design. 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+
superagent+
request+
ky+
needle+
bent+
snekfetch+
undici+
phin+

Tags: node.jshttprequestpromiseasync-await