SaaSHub helps you find the best software and product alternatives Learn more β
Top 23 TypeScript Fetch Projects
-
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.
queries/ If you're using TanStack Query (React Query), this is where you'd keep your query and mutation hooks. It helps to organize your data-fetching logic and caching in one place.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
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.
-
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.
-
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.
-
-
openapi-ts
π OpenAPI to TypeScript codegen. Production-grade SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.
Project mention: What Is DaloyJS? A Beginner-Friendly Tour of a Contract-First TypeScript Framework | dev.to | 2026-05-30Once 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.
-
warp-drive
WarpDrive is the lightweight data library for ambitious web apps β universal, typed, reactive, and ready to scale.
-
-
-
-
Project mention: 5 years ago I started to work on the next-gen fetcher, here it is | news.ycombinator.com | 2025-07-14
About five years ago, I began developing what I hoped would be the data fetcher of the future - HyperFetch. It was a long and challenging journey, but I believe it has turned out to be successful and I hope it will be useful to the community.
So what is HyperFetch?
In short, itβs a data-fetching library. If you take Axios and TanStack Query and combine them into one, you get HF. The name doesnβt imply faster network requests. My goal was to speed up development, improve usability, and eliminate repetitive, tedious boilerplate. It should be quick to write and easy to maintain, while also scaling well.
Iβve spent most of my career building UI kits, reusable architectures, and components to empower developers at the organizations Iβve worked with. After thousands of hours and many years, I feel Iβve poured all that experience into this library.
Along this path I was inspired by many - trpc, tanstack query, swr, rtk, axios, shadcn - but I think my approach is a little different. I integrated the hooks directly with the fetching logic to give them a deeper understanding of the data flow and structure.
There are good reasons to remain agnostic and provide very open-ended hooks, like in tanstack query or swr. But there are also many reasons why a more tightly coupled system like HyperFetch can be powerful. We know the expected data structure, can track upload/download progress, and even support real-time communication which I do with dedicated "sockets" package.
Youβll find more reasons and examples of how HF can improve your workflows in the comments. Iβll leave you with our brand-new docs to explore!
https://hyperfetch.bettertyped.com/
-
-
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 -
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.
-
-
-
-
-
-
-
-
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.
-
TypeScript Fetch discussion
TypeScript Fetch related posts
-
Hey API β OpenAPI to TypeScript in Seconds
-
A Clean React Folder Structure
-
Our response to the Axios developer tool compromise
-
ky + p-limit: Concurrency Control With Built-in Retry for Batch Requests
-
Decorating Promises Without Breaking Them
-
Prerelease of Ky 2.0
-
A Simple Like System for a Static Blog
-
A note from our sponsor - SaaSHub
www.saashub.com | 17 Jun 2026
Index
What are some of the best open-source Fetch projects in TypeScript? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | TanStack Query | 49,778 |
| 2 | SWR | 32,400 |
| 3 | ky | 16,923 |
| 4 | graphql-yoga | 8,522 |
| 5 | wretch | 5,174 |
| 6 | openapi-ts | 4,944 |
| 7 | warp-drive | 3,146 |
| 8 | use-http | 2,303 |
| 9 | data-client | 2,032 |
| 10 | up-fetch | 1,402 |
| 11 | hyper-fetch | 1,331 |
| 12 | vue-query | 1,116 |
| 13 | hmpl | 959 |
| 14 | react-fetching-library | 621 |
| 15 | react-infinite-scroll-hook | 518 |
| 16 | FakeRest | 457 |
| 17 | xior | 446 |
| 18 | oauth2-client | 337 |
| 19 | react-suspense-fetch | 295 |
| 20 | sswr | 291 |
| 21 | fetcher-ts | 132 |
| 22 | fetch-api-data-action | 132 |
| 23 | glacier | 127 |