Hacker GitHub

← All repos

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

Mentions per year 9 mentions · busiest year 2026 (3)
20082026
  1. …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…
  2. …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
  3. …it. Main reason I posted it: compare Ky's usage with all the boilerplate required by Fetch at: https://github.com/sindresorhus/ky#usage