got vs wretch
got is downloaded 126.5× more often than wretch (143,651,475 vs 1,135,645 per month), so it has the larger community and more answered questions online. wretch ships 96% less gzipped JavaScript (1.8 kB vs 44.2 kB), which matters if bundle size is a priority. Both projects are actively maintained.
| Metric | got | wretch |
|---|---|---|
| Weekly downloads | 33,119,616✓ | 280,182 |
| Monthly downloads | 143,651,475✓ | 1,135,645 |
| GitHub stars | 14,909✓ | 5,172 |
| Minified size | 144.7 kB | 4.2 kB✓ |
| Minified + gzipped | 44.2 kB | 1.8 kB✓ |
| Dependencies | 12 | 0✓ |
| Open issues | 0✓ | 9 |
| Last commit | 2026-05-07 | 2026-05-23✓ |
| Latest version | 15.0.5 | 3.0.8 |
| License | MIT | MIT |
When to choose which
got
Powerful HTTP client for Node.js.
Choose it when: Server-side Node where you need retries, streams, pagination and hooks. Not for the browser.
- + Retries, streams, hooks
- + Great for backend
- - Node only
- - Heavier
wretch
A fluent, immutable wrapper around fetch.
Choose it when: You want a small, composable fetch API with a fluent chain and middleware, in modern environments.
- + Tiny
- + Fluent immutable API
- + Middleware
- - Requires fetch
- - Smaller community
Feature comparison
| Feature | got | wretch |
|---|---|---|
| Runtime | Node only | Browser + Node 18+ |
| Built on | http | fetch |
| Interceptors / hooks | ✓ Yes | ✓ Yes |
| Automatic JSON | ✓ Yes | ✓ Yes |
| Built-in retries | ✓ Yes | Addon |
Related comparisons
Embed this comparison
A live badge for your README — it updates as the numbers change.
[](https://devcompare.dev/compare/got-vs-wretch)Data from npm, Bundlephobia and GitHub. Last updated 2026-06-02.