Ky HTTP Client

JSON →
library 2.0.1 ·javascript
verified May 27, 2026

Ky is a minimalist, elegant HTTP client for modern browsers, Node.js, Bun, and Deno, built as a wrapper around the native Fetch API. Its current stable version is 2.0.1, with major releases introducing significant breaking changes (e.g., v2.0.0). Ky distinguishes itself from plain `fetch` by providing a simpler API with convenient method shortcuts (e.g., `ky.post()`), automatic retries for failed requests, treating non-2xx status codes as errors by default, built-in JSON option handling, timeout support, upload/download progress, and a flexible hooks system for extending functionality. It also offers advanced features like base URL options, custom instances, and robust TypeScript generics for response types, significantly reducing boilerplate compared to raw Fetch. The library prides itself on being tiny and having no external dependencies, focusing on core HTTP client functionality.

total hits 17
actors 7 distinct systems
last hit 1d ago AhrefsBot
GPTBot
2
ChatGPT-User
2
Script
1
Search engines
2
Humans
4

top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany · 🇧🇪 Belgium