Elestia Open Source Ratings
6.2

Wretch

Reasonable, with limits. 5th of 10 HTTP clients.

Wretch is a tiny fetch wrapper with zero dependencies, a chainable API, good error-handling shortcuts and optional add-ons. It is a sound choice, but it is mostly one person's project and it is losing ground to Ky and ofetch, which do the same job with larger communities.

Best for: Developers who want a very small, dependency-free fetch wrapper with a chained API and per-status error catchers.

GitHubnpm

Scores

Overall6.2

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Wretch is a well-made, tiny, dependency-free fetch wrapper. The people who use it like it. But Ky does the same job with more users, more maintainers and faster growth, and ofetch leads for universal and Nuxt projects. Its small community and single maintainer make it a reasonable but secondary pick for new work.

GPT-6.2 Sol: 6.4, likely 5.3 to 7.5

Wretch is worth choosing when chainable status handlers and reusable request configuration make application code easier to read. Ky is the stronger general-purpose fetch wrapper because it has more active maintenance and handled retry cancellation and deadlines better in the available comparison. Wretch’s slower release pace and limited production evidence for version 3 make its long-term fit less certain.

Needed by many6.9

How many developers need a tool for this job?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Most web and Node developers send HTTP requests, and many want something nicer than raw fetch. Wretch runs in browsers, Node, Deno and Bun. Its job is a little narrower than the category because many people now use plain fetch or a framework's own client.

GPT-6.2 Sol: 6.7, likely 5.6 to 7.9

Sending HTTP requests is common in both browser apps and server code. Wretch works across modern browsers, Node.js 22+, Deno and Bun without tying users to a framework. Built-in fetch already covers simple calls, and the survey gives little basis for estimating how many teams need Wretch’s extra features.

Helps a lot7.2

How well does it do the job for those who need it?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

The API is small and well designed, with typed catchers, middleware, add-ons and progress tracking, and it pulls in no dependencies. Version 3 tidied up the configuration and typed custom errors. Recent patches fixed type-inference and body-reading bugs, which shows some rough edges. It is about as capable as Ky, but agents and docs give less help with it.

GPT-6.2 Sol: 7.3, likely 6.2 to 8.4

The small core handles JSON and HTTP errors cleanly, and the TypeScript types preserve fallback values from status handlers. The documentation gives coding agents clear examples for common requests and middleware. In an October Node.js benchmark run by the maintainer of another fetch client, Wretch passed basic retry and timeout cases but failed three retry combinations, including cancellation during backoff and a total deadline. That benchmark covers only part of the library.

Holds up over time5.4

Will it still be a good choice in two years?

Claude Opus 5.5: 5.0, likely 3.0 to 6.0

There were six releases and 38 commits in the last year, and only 2 issues are open. However, one unpaid maintainer does almost all the work, the last release was in June 2026, and the Scorecard Maintained check is 0. A major version that broke code shipped in late 2025, so another rewrite or a slowdown is plausible.

  • github commitsLastYear / releasesLastYear: 38 commits, 6 releases
  • github latestRelease: 3.0.9 on 2026-06-19, five months ago
  • scorecard Maintained: Score 0
  • github.com/elbywan/wretch/releases: v3 breaking changes, Node 22+ required

GPT-6.2 Sol: 5.7, likely 4.3 to 7.0

Wretch shipped six releases in the past year and fixed a reported error-handling regression on the day it was filed. The last release was five months ago, some pull requests have waited months, and Ky has been more active. Version 3 changed runtime requirements and several APIs, and a later patch changed type inference. Recent releases depend heavily on one maintainer who works on open source in their spare time and accepts sponsorship.

Used widely3.6

How many use it, and is that growing?

Claude Opus 5.5: 4.0, likely 3.0 to 5.0

It has about 1.3M downloads per 4 weeks, around 330K a week, and 556 dependent repos. Ky has about 30 times that use. Its year-over-year ratio of 1.94 is far below the 4.1 median and below Ky and ofetch, so it is losing ground. Bluesky and Hacker News attention is nearly zero.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 1.33M vs 683K, ratio 1.94 against a 4.1 median
  • dependents: 556 repos and 107 packages, vs Ky's 11,957 repos
  • bluesky posts: 3 posts, none with likes

GPT-6.2 Sol: 3.2, likely 2.1 to 4.5

Ecosyste.ms found 556 dependent repositories and 107 npm packages, a modest footprint next to Ky’s nearly 12,000 repositories. Four-week downloads rose from 683,000 to 1.33 million, about 1.94 times the prior year, below both Ky’s 2.80 and the catalog median of 4.1. That points to lost relative ground, while automated installs, CDN delivery and incomplete repository coverage leave the number of direct users uncertain.

  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo; medianDownloadsRatio: Wretch’s download ratio is 1.94 against a catalog median of 4.1.
  • dependents; peers Ky: Ecosyste.ms found 556 Wretch repositories and 11,957 Ky repositories.
  • github stars; bluesky posts; hackerNews stories: 5,178 stars, three Bluesky links and zero matching Hacker News stories.
  • raw.githubusercontent.com/elbywan/wretch/3.0.9/README.md: Documents CDN and script-tag use outside npm installs.
Vouched for3.9

Who stands behind it being good?

Claude Opus 5.5: 3.0, likely 2.0 to 5.0

No major framework or well-known company is publicly known to build on it. It does not appear in surveys, and I found no independent benchmarks. Independent comparison guides usually recommend Ky or ofetch and often leave Wretch out. The only praise I found is from individual developers in blog posts and one Bluesky post.

GPT-6.2 Sol: 4.8, likely 3.3 to 6.3

Lokalise builds its frontend HTTP client around Wretch 2, and Illumio listed Wretch 2.8 in a shipped Console release. Developers praise the light wrapper and deduplication, and a recent benchmark confirms the basics while exposing retry limits. The strongest adoption examples are for version 2, so confidence in version 3’s production track record remains limited.

Safe7.1

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

It has zero runtime dependencies, no advisories ever, and an MIT licence, so the attack surface is small. The OpenSSF Scorecard is weak at 3.6, with little code review, no security policy and broad token permissions. One maintainer controls publishing, and releases are not signed.

  • advisories total: 0 advisories
  • npm dependencies: 0 dependencies
  • scorecard score: 3.6; Code-Review 1, Security-Policy 0, Token-Permissions 0

GPT-6.2 Sol: 7.1, likely 5.8 to 8.3

Wretch has zero runtime dependencies, a permissive MIT license and no recorded OSV advisories. The latest release used a tag-triggered GitHub Actions workflow that runs Node.js tests before publishing to npm, and the release commit has a verified signature. Recent releases rely on one maintainer, some publish actions use version tags, and the 3.6 OpenSSF Scorecard flags weak code review and a missing security policy.

Good

  • It has zero runtime dependencies and is about 2 KB gzipped. That is smaller than Ky or Axios.
  • Per-status catchers such as .unauthorized() and .catcher([401, 403], ...) remove most manual response.ok checks.
  • Instances are immutable and composable. Add-ons cover retry, abort, query strings, form data and upload/download progress.
  • The TypeScript types are strong. 3.0.x patches keep improving inference of catcher return types.

Bad

  • One maintainer does almost all the work. There has been no release since June 2026, and 12 pull requests are open.
  • Version 3 removed global config, renamed .errorType() and requires Node 22+, so upgrading from v2 takes work.
  • Its community is much smaller than Ky's or ofetch's. There are few tutorials and few user reports, and AI agents see fewer examples.
  • Its download growth lags most peers, so its share of new projects is shrinking.

The numbers

npm downloads, 4 weeks
1.3M +94% in a year
GitHub stars
5.2k
Commits, 12 months
38
npm version
3.0.9 Jun 2026
Versions, 12 months
6
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
3.6 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (elbywan/wretch), npm (wretch), OSV and the OpenSSF Scorecard.

HTTP clients

  1. 8.3undici
  2. 7.8Ky
  3. 7.3Axios
  4. 7.2Got
  5. 6.2Wretch
  6. 6.2ofetch
  7. 5.2SuperAgent
  8. 3.4openapi-fetch
  9. 2.8node-fetch
  10. 1.3Request
Compare all 10 on six scores