{"library":"util-http","type":"library","category":null,"description":"util-http is a JavaScript and TypeScript utility library designed to simplify and standardize HTTP requests by providing a unified API layer over several popular underlying HTTP clients. It currently supports wrapping `Axios`, the native `Fetch API`, `Undici` for high-performance Node.js environments, and `Superagent` for isomorphic (Node.js and browser) use cases. The library is currently in an early development phase, at version 0.0.15, implying a potentially rapid release cadence with possible breaking changes between minor versions. Its primary differentiator is the ability to swap out the underlying HTTP client while maintaining a consistent `ClientConfig` for global settings and `ClientOptions` for per-request overrides, complete with robust TypeScript type definitions for enhanced developer experience. It aims to abstract away client-specific configurations and error handling into a standardized interface, allowing developers to choose their preferred backend client without changing their application's request logic.","language":"javascript","status":"active","version":"0.0.15","tags":["javascript","http","axios","fetch","undici","superagent","http-client","http-requests","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install util-http","imports":["import { AxiosClient } from 'util-http';","import { HttpClient } from 'util-http';","import type { ClientConfig } from 'util-http';"]},{"cmd":"yarn add util-http","imports":[]},{"cmd":"pnpm add util-http","imports":[]}],"homepage":null,"github":"https://github.com/Tutitoos/util-http","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/util-http","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/util-http/compatibility"}}