FindSoftware

Ky

HTTP client built on the Fetch API that adds retries, timeouts, hooks and errors for non-2xx responses.

Ky is an HTTP client for JavaScript built on the Fetch API. It adds method shortcuts, a JSON option, timeouts, retries, upload and download progress, a base URL option and hooks, and it can validate responses with Standard Schema validators. Unlike plain fetch, it treats non-2xx status codes as errors after redirects. Instances made with extend or create carry their own defaults.

The README names got and axios as projects Ky differs from, and it says Got is maintained by the same people as Ky.

Worth knowing

The README notes that Chromium-based browsers retry 408 responses at the network layer for keep-alive connections, so a request can be retried by both the browser and Ky.

Identity

Status
Active
Maintainer
Sindre Sorhus2
Maintained by
Individual
First release
20186

Rendering and deploy

Install with
npm, cdn3

Releases

Current major version
27
Last release
2026-10-097

Adoption

GitHub stars
17,1631
npm downloads a week
9,737,2714
Contributors
1198
Dependent repositories
11,9575
Dependent packages
4685

Why these figures do not compare

Sources

  1. 2026-11-16: links, Written in, GitHub stars
    api.github.com/repos/sindresorhus/ky
  2. 2026-11-16: Maintainer, License, License model
    raw.githubusercontent.com/sindresorhus/ky/v2.2.0/license
  3. 2026-11-16: Categories, Runtime, Install with
    github.com/sindresorhus/ky/blob/v2.2.0/readme.md
  4. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/ky
  5. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/ky
  6. 2026-11-16: First release
    api.github.com/repos/sindresorhus/ky/commits/v0.2.0
  7. 2026-11-16: Current major version, Last release
    api.github.com/repos/sindresorhus/ky/releases
  8. 2026-11-16: Contributors
    api.github.com/repos/sindresorhus/ky/contributors?per_page=1

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON