sindresorhus/ky
🌳 Tiny & elegant JavaScript HTTP client based on the Fetch API observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 80
- 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: 17.5
- age_days: 2920
- days_rel: 134
- days_push: 7
- n_releases_24m: 19
Adoption not part of the score
17044 stars · 489 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Ky is a tiny, zero-dependency JavaScript HTTP client built on the Fetch API, offering a simpler API with method shortcuts, automatic retries, timeouts, JSON handling, hooks, and TypeScript support. It works in modern browsers, Node.js, Bun, and Deno.
Use cases
- make http requests in javascript without boilerplate
- wrap fetch with retries and timeouts
- post to a rest api
- treat non-2xx responses as errors automatically
- create http client instances with custom defaults
- track upload and download progress
- validate api responses with zod
When to choose
- you want a lightweight axios alternative built on fetch
- you need retries, timeouts, or hooks on top of fetch
- you target modern browsers, Node.js, Bun, or Deno
- you want better TypeScript ergonomics than raw fetch
When to avoid
- you need to support legacy browsers without fetch
- you need interceptors or features only axios provides
- you need request cancellation via AbortController wrappers with advanced semantics
Facets
library · maturity stable
http-client web-development apis developer-tools browser bun cross-platform fetch-api rest typescript zero-dependency retry timeout nodejs deno
2 sources
- readme: https://github.com/sindresorhus/ky · fetched 2026-08-28 · a1de62aeaf5f
- registry_npm: https://registry.npmjs.org/ky · fetched 2026-08-29 · beb9f1eb21ae
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sindresorhus/ky | main | 93 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem