Skip to content

Commit 3d49ee7

Browse files
committed
docs: switch bundle size badges from shields.io to badgen.net
Replaces all bundlephobia bundle-size badges across the root README and package READMEs with badgen.net equivalents for more reliable rendering, and fixes the root README badge link to point at the package's bundlephobia page instead of the badge image URL. Made-with: Cursor
1 parent d00caac commit 3d49ee7

9 files changed

Lines changed: 23 additions & 24 deletions

File tree

README.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
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

packages/adapter-axios/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<img src="https://img.shields.io/npm/dm/@hyper-fetch/axios" alt="npm downloads" />
1616
</a>
1717
<a href="https://bundlephobia.com/package/@hyper-fetch/axios">
18-
<img src="https://img.shields.io/bundlephobia/minzip/@hyper-fetch/axios" alt="bundle size" />
18+
<img src="https://badgen.net/bundlephobia/minzip/@hyper-fetch/axios" alt="bundle size" />
1919
</a>
2020
<a href="https://github.com/BetterTyped/hyper-fetch/blob/main/License.md">
2121
<img src="https://img.shields.io/github/license/BetterTyped/hyper-fetch" alt="License" />

packages/adapter-firebase-admin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<img src="https://img.shields.io/npm/dm/@hyper-fetch/firebase-admin" alt="npm downloads" />
1616
</a>
1717
<a href="https://bundlephobia.com/package/@hyper-fetch/firebase-admin">
18-
<img src="https://img.shields.io/bundlephobia/minzip/@hyper-fetch/firebase-admin" alt="bundle size" />
18+
<img src="https://badgen.net/bundlephobia/minzip/@hyper-fetch/firebase-admin" alt="bundle size" />
1919
</a>
2020
<a href="https://github.com/BetterTyped/hyper-fetch/blob/main/License.md">
2121
<img src="https://img.shields.io/github/license/BetterTyped/hyper-fetch" alt="License" />

packages/adapter-firebase/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<img src="https://img.shields.io/npm/dm/@hyper-fetch/firebase" alt="npm downloads" />
1616
</a>
1717
<a href="https://bundlephobia.com/package/@hyper-fetch/firebase">
18-
<img src="https://img.shields.io/bundlephobia/minzip/@hyper-fetch/firebase" alt="bundle size" />
18+
<img src="https://badgen.net/bundlephobia/minzip/@hyper-fetch/firebase" alt="bundle size" />
1919
</a>
2020
<a href="https://github.com/BetterTyped/hyper-fetch/blob/main/License.md">
2121
<img src="https://img.shields.io/github/license/BetterTyped/hyper-fetch" alt="License" />

packages/adapter-graphql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<img src="https://img.shields.io/npm/dm/@hyper-fetch/graphql" alt="npm downloads" />
1616
</a>
1717
<a href="https://bundlephobia.com/package/@hyper-fetch/graphql">
18-
<img src="https://img.shields.io/bundlephobia/minzip/@hyper-fetch/graphql" alt="bundle size" />
18+
<img src="https://badgen.net/bundlephobia/minzip/@hyper-fetch/graphql" alt="bundle size" />
1919
</a>
2020
<a href="https://github.com/BetterTyped/hyper-fetch/blob/main/License.md">
2121
<img src="https://img.shields.io/github/license/BetterTyped/hyper-fetch" alt="License" />

packages/core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<img src="https://img.shields.io/npm/dm/@hyper-fetch/core" alt="npm downloads" />
1616
</a>
1717
<a href="https://bundlephobia.com/package/@hyper-fetch/core">
18-
<img src="https://img.shields.io/bundlephobia/minzip/@hyper-fetch/core" alt="bundle size" />
18+
<img src="https://badgen.net/bundlephobia/minzip/@hyper-fetch/core" alt="bundle size" />
1919
</a>
2020
<a href="https://github.com/BetterTyped/hyper-fetch/blob/main/License.md">
2121
<img src="https://img.shields.io/github/license/BetterTyped/hyper-fetch" alt="License" />

packages/plugin-devtools/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<img src="https://img.shields.io/npm/dm/@hyper-fetch/plugin-devtools" alt="npm downloads" />
1616
</a>
1717
<a href="https://bundlephobia.com/package/@hyper-fetch/plugin-devtools">
18-
<img src="https://img.shields.io/bundlephobia/minzip/@hyper-fetch/plugin-devtools" alt="bundle size" />
18+
<img src="https://badgen.net/bundlephobia/minzip/@hyper-fetch/plugin-devtools" alt="bundle size" />
1919
</a>
2020
<a href="https://github.com/BetterTyped/hyper-fetch/blob/main/License.md">
2121
<img src="https://img.shields.io/github/license/BetterTyped/hyper-fetch" alt="License" />

packages/react/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<img src="https://img.shields.io/npm/dm/@hyper-fetch/react" alt="npm downloads" />
1616
</a>
1717
<a href="https://bundlephobia.com/package/@hyper-fetch/react">
18-
<img src="https://img.shields.io/bundlephobia/minzip/@hyper-fetch/react" alt="bundle size" />
18+
<img src="https://badgen.net/bundlephobia/minzip/@hyper-fetch/react" alt="bundle size" />
1919
</a>
2020
<a href="https://github.com/BetterTyped/hyper-fetch/blob/main/License.md">
2121
<img src="https://img.shields.io/github/license/BetterTyped/hyper-fetch" alt="License" />

packages/sockets/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<img src="https://img.shields.io/npm/dm/@hyper-fetch/sockets" alt="npm downloads" />
1616
</a>
1717
<a href="https://bundlephobia.com/package/@hyper-fetch/sockets">
18-
<img src="https://img.shields.io/bundlephobia/minzip/@hyper-fetch/sockets" alt="bundle size" />
18+
<img src="https://badgen.net/bundlephobia/minzip/@hyper-fetch/sockets" alt="bundle size" />
1919
</a>
2020
<a href="https://github.com/BetterTyped/hyper-fetch/blob/main/License.md">
2121
<img src="https://img.shields.io/github/license/BetterTyped/hyper-fetch" alt="License" />

0 commit comments

Comments
 (0)