TypeScript Fetch

Open-source TypeScript projects categorized as Fetch

Top 23 TypeScript Fetch Projects

  1. TanStack Query

    πŸ€– Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

    Project mention: November 2–8, 2026: Next.js 16.4.5, AI SDK 7.0.165, TanStack AI 1.2 | dev.to | 2026-11-08

    TanStack Query moved from 5.105.2 to 5.107.1. The React-relevant core fixes I'd note: 5.105.2 keeps every waiter of an in-flight query on the replacement fetch when invalidation cancels it, and drops status from the filters on isMutating (those APIs always count pending mutations). 5.105.3 stops a cancelled retry from pausing the query when its delay expires, and treats a query as static only when it has data, so a static query without data can refetch after reset, invalidation, or an explicit refetch. 5.107.0 keeps the timestamp stable for the same selector error, which prevents an infinite render loop. Devtools in 5.106.0 can search nested property names and values in the Data Explorer and virtualizes long query and mutation lists. The November 6 release also adds a filter-scope toggle (query key, query data, or both). Several of the 5.107 notes are Vue-only (state narrowing, enabled(query)).

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. SWR

    React Hooks for Data Fetching

    Project mention: GraphQL vs REST: 18 Claims Fact-Checked with Primary Sources (2026) | dev.to | 2026-04-17

    Historically, measurements around 40–45 KB gzipped were reasonable for older Apollo Client bundles , but recent v4.x releases have reduced bundle size and made features more modular. Regardless, that is not a cost of GraphQL itself. The same concern exists for feature‑rich REST clients like SWR or TanStack Query . It is a misleading comparison because both REST and GraphQL can be implemented with nothing more than fetch(). Therefore, the theoretical baseline for both styles is 0 KB.

  4. ky

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

    Project mention: Our response to the Axios developer tool compromise | news.ycombinator.com | 2026-04-22

    I usually reach for ky these 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 (after redirects)

    - Retries failed requests

    - JSON option

    - Timeout support

    - Upload and download progress

    - Base URL option

    - Instances with custom defaults

    - Hooks

    - Response validation with Standard Schema (Zod, Valibot, etc.)

    - TypeScript niceties (e.g., .json() supports generics and defaults to unknown, not any)

    Of course, this is only for projects where I have to make a lot of HTTP requests to a lot of different places where these niceties make sense. In most cases, we're usually using a library generated from an OpenAPI specification and fall back to `fetch` only as an escape hatch.

  5. graphql-yoga

    🧘 Rewrite of a fully-featured GraphQL Server with focus on easy setup, performance & great developer experience. The core of Yoga implements WHATWG Fetch API and can run/deploy on any JS environment.

    Project mention: Caching GraphQL POST and QUERY requests: what works, what breaks | dev.to | 2026-11-12

    GraphQL Yoga answers QUERY with 405. Opt-in support was merged on 2026-11-11 and is not in a release yet.

  6. hey-api

    πŸ‘¨β€πŸš€ Turn API specifications into production-ready SDKs, validators, mocks, and more. 20+ plugins. Millions of weekly npm downloads. Used by Vercel, OpenCode, PayPal, AWS, Autodesk, and many more.

    Project mention: What Is DaloyJS? A Beginner-Friendly Tour of a Contract-First TypeScript Framework | dev.to | 2026-05-30

    Once your API has an OpenAPI spec, you can run one command and get a fully typed fetch client out of it (DaloyJS uses Hey API for this). Your frontend can call your backend with full autocomplete and type checking, and that client regenerates whenever your contract changes. Less guessing, fewer "what does this endpoint return again?" moments.

  7. wretch

    A tiny wrapper built around fetch with an intuitive syntax. :candy:

  8. warp-drive

    WarpDrive is the lightweight data library for ambitious web apps β€” universal, typed, reactive, and ready to scale.

  9. use-http

    🐢 React hook for making isomorphic http requests

  10. data-client

    Async State Management without the Management. REST, GraphQL, SSE, Websockets

  11. up-fetch

    Advanced fetch client builder

  12. hyper-fetch

    ⚑ Fetching and realtime data exchange framework.

  13. vue-query

    Hooks for fetching, caching and updating asynchronous data in Vue

  14. hmpl

    🐜 HMPL.js is a lightweight server-oriented template language for JavaScript. Fetch HTML, render it safely, and keep apps dynamic, modern, and small.

    Project mention: Will HMPL.js reach 1k stars before the new year? | news.ycombinator.com | 2025-12-07
  15. react-fetching-library

    Simple and powerful API client for react πŸ‘ Use hooks or FACCs to fetch data in easy way. No dependencies! Just react under the hood.

  16. react-infinite-scroll-hook

    React hook for creating infinite scroll components.

  17. xior

    A liteweight fetch wrapper with plugins support and similar API to axios.

    Project mention: axios VS xior - a user suggested alternative | libhunt.com/r/axios | 2026-02-21
  18. FakeRest

    Patch fetch/XMLHttpRequest to fake a REST API server in the browser, based on JSON data.

  19. oauth2-client

    OAuth2 client for Node and browsers (by badgateway)

  20. react-suspense-fetch

    [NOT MAINTAINED] A low-level library for React Suspense for Data Fetching

  21. sswr

    πŸ”₯ Svelte stale while revalidate (SWR) data fetching strategy

  22. ffetch

    TypeScript-first fetch wrapper with configurable timeouts, retries, and circuit-breaker baked in.

    Project mention: I Tested 11 HTTP Resilience Libraries | dev.to | 2026-10-04

    When I started building ffetch, I had a fairly simple goal: make HTTP requests more resilient without turning a fetch wrapper into a complicated piece of machinery. Retries, backoffs, circuit breaking, and the other patterns could live around a small core, with plugins adding whatever a particular application needed. I liked the elegance of that design, and keeping the library lightweight was a big part of the appeal.

  23. fetch-api-data-action

    🚚 GitHub action for handling authenticated API requests, allowing you to save the data from the request into your workspace as an environment variable and a .json file.

  24. fetcher-ts

    Type-safe wrapper around Fetch API

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

TypeScript Fetch discussion

Log in or Post with

TypeScript Fetch related posts

  • Checkout Incident Evidence: HTTP Health Checks and Node.js Polling API Choices

    2 projects | dev.to | 6 Nov 2026
  • I Tested 11 HTTP Resilience Libraries

    2 projects | dev.to | 4 Oct 2026
  • TanStack Query style caching, the Angular-native way

    2 projects | dev.to | 29 Jun 2026
  • Hey API – OpenAPI to TypeScript in Seconds

    1 project | news.ycombinator.com | 18 May 2026
  • A Clean React Folder Structure

    1 project | dev.to | 9 May 2026
  • Our response to the Axios developer tool compromise

    3 projects | news.ycombinator.com | 22 Apr 2026
  • ky + p-limit: Concurrency Control With Built-in Retry for Batch Requests

    2 projects | dev.to | 19 Apr 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 14 Nov 2026
    SaaSHub helps you find the best software and product alternatives Learn more β†’

Index

What are some of the best open-source Fetch projects in TypeScript? This list will help you:

# Project Stars
1 TanStack Query 50,568
2 SWR 32,489
3 ky 17,147
4 graphql-yoga 8,539
5 hey-api 5,562
6 wretch 5,179
7 warp-drive 3,162
8 use-http 2,297
9 data-client 2,041
10 up-fetch 1,410
11 hyper-fetch 1,336
12 vue-query 1,111
13 hmpl 970
14 react-fetching-library 615
15 react-infinite-scroll-hook 516
16 xior 457
17 FakeRest 454
18 oauth2-client 339
19 react-suspense-fetch 294
20 sswr 294
21 ffetch 247
22 fetch-api-data-action 136
23 fetcher-ts 131

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that TypeScript is
the 2nd most popular programming language
based on number of references?