{"library":"get-it","type":"library","category":null,"description":"get-it is a generic HTTP request library designed for both Node.js (>=14.0.0) and modern browsers, including web workers. Currently at stable version 8.7.2, the package maintains an active development pace with frequent bug fixes and minor feature releases within its v8.x series. Its key differentiator is a highly modular, middleware-based architecture, drawing inspiration from `http-client`. This approach enables developers to compose specific functionalities such as Promise or Observable patterns, automatic request retries, cancellation, JSON serialization/deserialization, GZIP unwrapping (Node.js), base URL prepending, redirect following, and detailed upload/download progress events. The modularity aims to provide a small browser bundle footprint while offering extensive and configurable HTTP client features. It transparently handles various request body types depending on the execution environment and provides options for network timeouts.","language":"javascript","status":"active","version":"8.7.2","tags":["javascript","request","http","fetch","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install get-it","imports":["import { getIt } from 'get-it'","import { base, jsonResponse, promise } from 'get-it/middleware'","import { observable } from 'get-it/middleware'"]},{"cmd":"yarn add get-it","imports":[]},{"cmd":"pnpm add get-it","imports":[]}],"homepage":null,"github":"https://github.com/sanity-io/get-it","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/get-it","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/get-it/compatibility"}}