{"repo":"sindresorhus/got","free":true,"listed":false,"github":"https://github.com/sindresorhus/got","clone":"git clone https://github.com/sindresorhus/got.git","description":"🌐 Human-friendly and powerful HTTP request library for Node.js","language":"TypeScript","stars":14929,"topics":["http-client","http-request","http","https","nodejs","npm-package"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Sindre's open source work is supported by the community. Special thanks to: Fast remote container builds and GitHub Actions runners. Human-friendly and powerful HTTP request library for Node.js See how Got compares to other HTTP libraries --- You probably want Ky instead, by the same people. It's smaller, works in the browser too, and is more stable since it's built on Fetch . Or fetch-extras for simple needs. --- Support questions should be asked here. Install Warning: This package is native ESM and no longer provides a CommonJS export. If your project uses CommonJS, you will have to convert to ESM. Please don't open issues for questions regarding CommonJS / ESM. Got v11 is no longer maintained and we will not accept any backport requests. Take a peek A quick start guide is available. JSON mode Got has a dedicated option for handling JSON payload.\\ Furthermore, the promise exposes a .json () function that returns Promise . For advanced JSON usage, check out the parseJson and stringifyJson options. For more useful tips like this, visit the Tips page. Highlights - Used by 10K+ packages and 5M+ repos - Actively maintained - Trusted by many companies Documentation By default, Got will retry on failure. To disable this option, set options.retry.limit to 0. Main API - [x] Promise API - [x] Options - [x] Stream API - [x] Pagination API - [x] Advanced HTTPS API - [x] HTTP/2 support - [x] Response class Timeouts and retries - [x] Advanced timeout handling - [x] Retries on failure - [","default_branch":null,"files":null,"tree":[],"storefront":"/r/sindresorhus","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sindresorhus/got/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}