Ky HTTP Client
JSON →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.
Traffic · last 30 days ↑150% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany · 🇧🇪 Belgium