# L-Blondy/up-fetch

Advanced fetch client builder

Repository: https://github.com/L-Blondy/up-fetch
Canonical: https://ross.abutalabs.com/products/up-fetch
Language: TypeScript
License: MIT
License Family: permissive
Topics: fetch, fetch-wrapper, validation, zod, api, fetch-client, progress, retry, schema, standard-schema, streaming
Last push: 2026-08-25T09:35:01+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 74, longevity 90
- inputs: {"age_days": 1267, "days_push": 8, "days_rel": 177, "gap_med": 1.0, "n_releases_24m": 29}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1406, forks 20 (observed 2026-08-28T04:04:38.330465+00:00)

## What it is
upfetch is an advanced fetch client builder for TypeScript that wraps the native fetch API with schema validation, automatic response parsing, and smart defaults. It supports validators like zod, valibot, and arktype via the Standard Schema spec, and adds practical features like retry, timeout, progress tracking, and streaming.

## Use cases
- type-safe fetch client with zod response validation
- wrap fetch with baseUrl and default headers
- automatic JSON parsing and body serialization for fetch
- retry failed requests with configurable backoff
- track upload and download progress with fetch
- stream API responses with schema validation
- shared request defaults across multiple API clients
- handle fetch errors with typed error classes

## When to choose
- you want type-safe API calls without leaving the native fetch API
- you need a tiny (1.6kB) zero-dependency fetch wrapper
- you use zod, valibot, or arktype and want runtime-validated responses
- you want retry, timeout, and progress in one lightweight client
- you need multiple configured fetch instances for different APIs

## When to avoid
- you need a full-featured HTTP client with interceptors like axios
- your project is not TypeScript or does not use schema validation
- you need GraphQL or WebSocket support rather than REST-style fetching
- you want automatic React query caching or state management integration

## Facets
- artifact type: library
- maturity: active
- function: http-client, middleware, serialization, streaming
- domain: web-development, frontend, backend, apis, developer-tools
- platform: browser, cross-platform
- tags: fetch-wrapper, zod, standard-schema, schema-validation, retry, timeout, progress-tracking, type-safe, response-parsing, query-params, lifecycle-hooks, error-handling, valibot, arktype, lightweight, nodejs, typescript

## Member repositories
- L-Blondy/up-fetch (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:38.330465+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:38:40.993330+00:00, confidence not recorded.
  - readme: https://github.com/L-Blondy/up-fetch (fetched 2026-08-28T04:04:38.330465+00:00, sha 286d4fe8916c)
  - registry_npm: https://registry.npmjs.org/up-fetch (fetched 2026-08-29T11:52:24.592934+00:00, sha 09fdcea7c003)
- Data as of 2026-08-30T08:39:29.467469+00:00.
