Ross ROSS = Recommend OSS · open-source software intelligence for agents

elbywan/wretch

A tiny wrapper built around fetch with an intuitive syntax. :candy: observed · 2026-08-28

github.com/elbywan/wretch · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

91/100

  • Activity 88
  • Release rhythm 89
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 16
  • age_days: 3276
  • days_rel: 75
  • days_push: 75
  • n_releases_24m: 14

Full methodology

Adoption not part of the score

5178 stars · 108 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Wretch is a tiny (~1.8KB gzipped) TypeScript wrapper around the fetch API with an intuitive, chainable syntax for making HTTP requests. It handles error handling, headers, and (de)serialization, and is extensible via addons and middlewares.

Use cases

  • make http requests with a cleaner syntax than raw fetch
  • handle json responses and errors from fetch calls
  • send formdata or file uploads via http
  • reuse and configure http request instances immutably
  • add interceptors or middlewares to fetch requests
  • use one http client across browser and node.js

When to choose

  • you want a lightweight fetch wrapper under 2KB
  • you prefer chainable, promise-based request building
  • you need isomorphic http requests in browsers, Node.js, Deno, or Bun
  • you want built-in error handling and serialization with strong TypeScript types

When to avoid

  • you need advanced features like request cancellation, caching layers, or retries out of the box without addons
  • you prefer a full-featured client like axios with interceptors and instance defaults built in
  • you target environments without fetch support and no polyfill

Facets

library · maturity active

http-client serialization middleware web-development frontend backend apis developer-tools bun browser cross-platform fetch-wrapper ajax promise-based immutable-api tiny-library isomorphic nodejs deno typescript javascript

2 sources

Member repositories

RepositoryRoleHealth v2
elbywan/wretchmain91

For agents

markdown · JSON · MCP: product_card(name="elbywan/wretch")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem