sindresorhus/ky
View on GitHub ↗ ★ 17,141 TypeScript
🌳 Tiny & elegant JavaScript HTTP client based on the Fetch API
9 mentions on Hacker News by 6 people: 6 stories, 3 comments · first 2018-09-08 · latest 2026-04-23
20082026
-
…days since it's an extremely lightweight wrapper over `fetch` - basically just adds a few niceties https://github.com/sindresorhus/ky From the readme: - Simpler API - Method shortcuts (ky.post()) - Treats non-2xx status codes as errors…
comment by TranquilMarmot · 2026-04-23 · in OpenAI's response to the Axios developer tool compromise -
…TypeScript support, including built-in schema validation with type inference. Documented here: https://github.com/sindresorhus/ky?tab=readme-ov-file#how-is...
comment by sholladay · 2026-03-31 · in Prerelease of Ky 2.0 -
…it. Main reason I posted it: compare Ky's usage with all the boilerplate required by Fetch at: https://github.com/sindresorhus/ky#usage
comment by nailer · 2019-06-10 · in Ky, a delightful Fetch-based HTTP library for the browser