Got: Detailed Overview & Metrics

v14.4.1(28 days ago)

This package is actively maintained.Types definitions are provided via a separate npm package: @types/gotNumber of direct dependencies: 12Monthly 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, handling responses, and managing request options. Got provides features like automatic retries, timeouts, and request cancellation, making it a reliable choice for handling network 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 support for modern features like HTTP/2 and streams. It is actively maintained with regular updates and improvements, making it a preferred choice for many developers.

Alternatives: axios, node-fetch, superagent

Tags: node.jshttprequestpromiseasync/await