sindresorhus

    sindresorhus/ky

    #490 this week

    🌳 Tiny & elegant JavaScript HTTP client based on the Fetch API

    api
    fetch
    http-client
    http-request
    javascript
    js
    TypeScript
    MIT
    17.1K stars
    503 forks
    17.1K GitHub watchers
    Updated Oct 18, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    Ranks #490 of 2,794 repositories GStars tracks this week (top 18%).

    2 releases in the last 90 days, the latest 9 days ago, with 120 contributors on GitHub.

    Gained 45% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Provides a tiny and elegant JavaScript HTTP client built on the Fetch API for making HTTP requests with enhanced features.
    • Offers a simpler API than fetch with built-in retries, timeout support, JSON handling, and TypeScript generics for safer and cleaner code.
    • Use for building type-safe REST API clients in modern JavaScript or TypeScript applications targeting browsers, Node.js, Bun, or Deno.
    • Use for implementing robust HTTP request retries with customizable backoff, jitter, and error handling in network-sensitive applications.
    • Use for creating modular HTTP clients with hooks to modify requests, responses, and errors for advanced workflows like token refresh or caching.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Ky is a tiny and elegant HTTP client based on the Fetch API

    Ky targets modern browsers, Node.js, Bun, and Deno.

    It's just a tiny package with no dependencies.

    Excerpt from the sindresorhus/ky README on GitHub (MIT license). Β© its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    503+21

    Open issues

    0+0

    Compared with peers in API

    Fastest-growing repositories GStars tracks in this cohort for the week of Oct 18, by 7-day star growth

    sindresorhus/ky compared with API repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    vxcontrol/pentagi32.0K+1.7K7517 days ago
    mudler/LocalAI49.9K+29675today
    Mag1cFall/AIStudio2API423+166421 day ago
    calcom/cal.diy49.1K+8475230 days ago
    usebruno/bruno47.7K+467517 days ago
    sindresorhus/ky17.1K+0759 days ago
    Category median47.7K+16675β€”

    Also by sindresorhus

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description