88
99** One SDK. Any API. Fully typed.**
1010
11- The type-safe API layer for TypeScript apps. Connect to REST, GraphQL, Firebase, WebSockets, SSE — all with one consistent interface and the best type safety in the ecosystem.
11+ The type-safe API layer for TypeScript apps. Connect to REST, GraphQL, Firebase, WebSockets, SSE — all with one
12+ consistent interface and the best type safety in the ecosystem.
1213
1314** [ Documentation] ( https://hyperfetch.bettertyped.com/ ) |
1415[ Quick Start] ( https://hyperfetch.bettertyped.com/docs/getting-started/quick-start ) |
@@ -29,9 +30,6 @@ The type-safe API layer for TypeScript apps. Connect to REST, GraphQL, Firebase,
2930 <a href =" https://www.npmjs.com/package/@hyper-fetch/core " >
3031 <img src="https://img.shields.io/npm/dm/@hyper-fetch/core" alt="npm downloads" />
3132 </a >
32- <a href =" https://img.shields.io/bundlephobia/minzip/@hyper-fetch/core " >
33- <img src="https://img.shields.io/bundlephobia/minzip/@hyper-fetch/core" alt="bundle size" />
34- </a >
3533 <a href =" https://github.com/BetterTyped/hyper-fetch " >
3634 <img src="https://img.shields.io/badge/typescript-%23007ACC.svg?logo=typescript&logoColor=white" alt="TypeScript" />
3735 </a >
@@ -75,7 +73,8 @@ const { data } = await sdk.users.list.send();
7573## Why HyperFetch?
7674
7775- 🔮 ** Zero guesswork** — End-to-end TypeScript types from schema to response, full autocompletion, zero ` any `
78- - 📡 ** One interface for everything** — REST, GraphQL, Firebase, WebSockets, SSE — stop learning a new library for each API
76+ - 📡 ** One interface for everything** — REST, GraphQL, Firebase, WebSockets, SSE — stop learning a new library for each
77+ API
7978- 💾 ** Data management built in** — Caching, queuing, offline support, retries, and deduplication out of the box
8079- ⚡ ** Works everywhere** — React, Next.js, Remix, Astro, Node.js, Bun — same API, every environment
8180
@@ -91,17 +90,17 @@ const { data } = await sdk.users.list.send();
9190
9291## Packages
9392
94- | Package | Version | Downloads | Size |
95- | --- | --- | --- | --- |
96- | [ @hyper-fetch/core ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/core ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/core )] ( https://www.npmjs.com/package/@hyper-fetch/core ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/core )] ( https://www.npmjs.com/package/@hyper-fetch/core ) | [ ![ size] ( https://img.shields.io /bundlephobia/minzip/@hyper-fetch/core )] ( https://bundlephobia.com/package/@hyper-fetch/core ) |
97- | [ @hyper-fetch/react ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/react ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/react )] ( https://www.npmjs.com/package/@hyper-fetch/react ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/react )] ( https://www.npmjs.com/package/@hyper-fetch/react ) | [ ![ size] ( https://img.shields.io /bundlephobia/minzip/@hyper-fetch/react )] ( https://bundlephobia.com/package/@hyper-fetch/react ) |
98- | [ @hyper-fetch/sockets ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/sockets ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/sockets )] ( https://www.npmjs.com/package/@hyper-fetch/sockets ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/sockets )] ( https://www.npmjs.com/package/@hyper-fetch/sockets ) | [ ![ size] ( https://img.shields.io /bundlephobia/minzip/@hyper-fetch/sockets )] ( https://bundlephobia.com/package/@hyper-fetch/sockets ) |
99- | [ @hyper-fetch/cli ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/cli ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/cli )] ( https://www.npmjs.com/package/@hyper-fetch/cli ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/cli )] ( https://www.npmjs.com/package/@hyper-fetch/cli ) | [ ![ size] ( https://img.shields.io /bundlephobia/minzip/@hyper-fetch/cli )] ( https://bundlephobia.com/package/@hyper-fetch/cli ) |
100- | [ @hyper-fetch/firebase ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/adapter-firebase ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/firebase )] ( https://www.npmjs.com/package/@hyper-fetch/firebase ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/firebase )] ( https://www.npmjs.com/package/@hyper-fetch/firebase ) | [ ![ size] ( https://img.shields.io /bundlephobia/minzip/@hyper-fetch/firebase )] ( https://bundlephobia.com/package/@hyper-fetch/firebase ) |
101- | [ @hyper-fetch/firebase-admin ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/adapter-firebase-admin ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/firebase-admin )] ( https://www.npmjs.com/package/@hyper-fetch/firebase-admin ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/firebase-admin )] ( https://www.npmjs.com/package/@hyper-fetch/firebase-admin ) | [ ![ size] ( https://img.shields.io /bundlephobia/minzip/@hyper-fetch/firebase-admin )] ( https://bundlephobia.com/package/@hyper-fetch/firebase-admin ) |
102- | [ @hyper-fetch/graphql ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/adapter-graphql ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/graphql )] ( https://www.npmjs.com/package/@hyper-fetch/graphql ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/graphql )] ( https://www.npmjs.com/package/@hyper-fetch/graphql ) | [ ![ size] ( https://img.shields.io /bundlephobia/minzip/@hyper-fetch/graphql )] ( https://bundlephobia.com/package/@hyper-fetch/graphql ) |
103- | [ @hyper-fetch/axios ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/adapter-axios ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/axios )] ( https://www.npmjs.com/package/@hyper-fetch/axios ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/axios )] ( https://www.npmjs.com/package/@hyper-fetch/axios ) | [ ![ size] ( https://img.shields.io /bundlephobia/minzip/@hyper-fetch/axios )] ( https://bundlephobia.com/package/@hyper-fetch/axios ) |
104- | [ @hyper-fetch/plugin-devtools ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/plugin-devtools ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/plugin-devtools )] ( https://www.npmjs.com/package/@hyper-fetch/plugin-devtools ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/plugin-devtools )] ( https://www.npmjs.com/package/@hyper-fetch/plugin-devtools ) | [ ![ size] ( https://img.shields.io /bundlephobia/minzip/@hyper-fetch/plugin-devtools )] ( https://bundlephobia.com/package/@hyper-fetch/plugin-devtools ) |
93+ | Package | Version | Downloads | Size |
94+ | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ --- |
95+ | [ @hyper-fetch/core ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/core ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/core )] ( https://www.npmjs.com/package/@hyper-fetch/core ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/core )] ( https://www.npmjs.com/package/@hyper-fetch/core ) | [ ![ size] ( https://badgen.net /bundlephobia/minzip/@hyper-fetch/core )] ( https://bundlephobia.com/package/@hyper-fetch/core ) |
96+ | [ @hyper-fetch/react ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/react ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/react )] ( https://www.npmjs.com/package/@hyper-fetch/react ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/react )] ( https://www.npmjs.com/package/@hyper-fetch/react ) | [ ![ size] ( https://badgen.net /bundlephobia/minzip/@hyper-fetch/react )] ( https://bundlephobia.com/package/@hyper-fetch/react ) |
97+ | [ @hyper-fetch/sockets ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/sockets ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/sockets )] ( https://www.npmjs.com/package/@hyper-fetch/sockets ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/sockets )] ( https://www.npmjs.com/package/@hyper-fetch/sockets ) | [ ![ size] ( https://badgen.net /bundlephobia/minzip/@hyper-fetch/sockets )] ( https://bundlephobia.com/package/@hyper-fetch/sockets ) |
98+ | [ @hyper-fetch/cli ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/cli ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/cli )] ( https://www.npmjs.com/package/@hyper-fetch/cli ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/cli )] ( https://www.npmjs.com/package/@hyper-fetch/cli ) | [ ![ size] ( https://badgen.net /bundlephobia/minzip/@hyper-fetch/cli )] ( https://bundlephobia.com/package/@hyper-fetch/cli ) |
99+ | [ @hyper-fetch/firebase ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/adapter-firebase ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/firebase )] ( https://www.npmjs.com/package/@hyper-fetch/firebase ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/firebase )] ( https://www.npmjs.com/package/@hyper-fetch/firebase ) | [ ![ size] ( https://badgen.net /bundlephobia/minzip/@hyper-fetch/firebase )] ( https://bundlephobia.com/package/@hyper-fetch/firebase ) |
100+ | [ @hyper-fetch/firebase-admin ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/adapter-firebase-admin ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/firebase-admin )] ( https://www.npmjs.com/package/@hyper-fetch/firebase-admin ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/firebase-admin )] ( https://www.npmjs.com/package/@hyper-fetch/firebase-admin ) | [ ![ size] ( https://badgen.net /bundlephobia/minzip/@hyper-fetch/firebase-admin )] ( https://bundlephobia.com/package/@hyper-fetch/firebase-admin ) |
101+ | [ @hyper-fetch/graphql ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/adapter-graphql ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/graphql )] ( https://www.npmjs.com/package/@hyper-fetch/graphql ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/graphql )] ( https://www.npmjs.com/package/@hyper-fetch/graphql ) | [ ![ size] ( https://badgen.net /bundlephobia/minzip/@hyper-fetch/graphql )] ( https://bundlephobia.com/package/@hyper-fetch/graphql ) |
102+ | [ @hyper-fetch/axios ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/adapter-axios ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/axios )] ( https://www.npmjs.com/package/@hyper-fetch/axios ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/axios )] ( https://www.npmjs.com/package/@hyper-fetch/axios ) | [ ![ size] ( https://badgen.net /bundlephobia/minzip/@hyper-fetch/axios )] ( https://bundlephobia.com/package/@hyper-fetch/axios ) |
103+ | [ @hyper-fetch/plugin-devtools ] ( https://github.com/BetterTyped/hyper-fetch/tree/main/packages/plugin-devtools ) | [ ![ npm] ( https://img.shields.io/npm/v/@hyper-fetch/plugin-devtools )] ( https://www.npmjs.com/package/@hyper-fetch/plugin-devtools ) | [ ![ downloads] ( https://img.shields.io/npm/dm/@hyper-fetch/plugin-devtools )] ( https://www.npmjs.com/package/@hyper-fetch/plugin-devtools ) | [ ![ size] ( https://badgen.net /bundlephobia/minzip/@hyper-fetch/plugin-devtools )] ( https://bundlephobia.com/package/@hyper-fetch/plugin-devtools ) |
105104
106105## Examples
107106
0 commit comments