ofetch is an HTTP client built on the native fetch API that adds automatic JSON serialization, request/response interceptors, configurable retry, and timeout handling. It provides descriptive error objects for non-OK responses and automatically parses response bodies based on their content type. The client supports creating pre-configured instances with preset base URLs, headers, and default options, enabling consistent configuration across a project. It offers full TypeScript type inference for response data and request payloads, and allows extending request options with custom properties wh
Got is a promise-based HTTP request library for Node.js that supports HTTP/2 and streaming. It provides a system for making network requests with a focus on asynchronous control flow and type-safe API client development. The library is distinguished by its middleware-based request lifecycle, which uses interceptors and plugins to modify request options and response data. It includes a configurable automatic retry mechanism with backoff strategies, a built-in HTTP response cache, and a cookie-jar system for maintaining persistent sessions. Broad capabilities cover data handling through duplex
r2 is a JavaScript HTTP client library and asynchronous request library used for executing network calls. It provides a runtime-agnostic network layer that abstracts underlying HTTP implementations to ensure consistent behavior across different JavaScript execution environments. The library functions as a JSON API client, automatically parsing response bodies and formatting outgoing payloads. It utilizes a promise-based interface to manage the lifecycle of HTTP requests and responses. The project covers REST API integration and HTTP header management, allowing users to attach custom key-valu
🌳 Tiny & elegant JavaScript HTTP client based on the Fetch API
Wretch is a chainable HTTP client library and Fetch API wrapper designed to simplify network request configuration, response parsing, and error handling. It functions as a network request manager and middleware framework for managing the end-to-end lifecycle of HTTP calls.
Die Hauptfunktionen von elbywan/wretch sind: Fluent Request Builders, Fetch API Wrappers, Automatic Content-Type Selection, API Error Handling, Response Body Parsing, HTTP Client Libraries, Request Configurations, Middleware-Based Request Pipelines.
Open-Source-Alternativen zu elbywan/wretch sind unter anderem: unjs/ofetch — ofetch is an HTTP client built on the native fetch API that adds automatic JSON serialization, request/response… sindresorhus/got — Got is a promise-based HTTP request library for Node.js that supports HTTP/2 and streaming. It provides a system for… mikeal/r2 — r2 is a JavaScript HTTP client library and asynchronous request library used for executing network calls. It provides… sindresorhus/ky — 🌳 Tiny & elegant JavaScript HTTP client based on the Fetch API. imroc/req — req is a chainable HTTP client library for Go designed to simplify request configuration and automatic response… httpie/desktop — This is a desktop HTTP client application used for constructing, sending, and analyzing HTTP and GraphQL requests. It…