ky

Tiny and elegant HTTP client based on the Fetch API

A tiny, modern fetch wrapper.

When to choose it: Modern browsers/runtimes where you want a small client built on fetch with retries and hooks out of the box.

  • + Tiny
  • + Retries built-in
  • + fetch-based, modern
  • - Requires fetch (modern envs)
  • - Fewer plugins than axios
Latest version
2.0.2
Monthly downloads
22,536,796
GitHub stars
16,899
Minified + gzip
7.0 kB
Dependencies
0
License
MIT

Compare ky with

Data from npm, Bundlephobia and GitHub. Last updated 2026-06-02.