@kubb/plugin-fetch 5.0.0-beta.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,70 @@
1
+ <div align="center">
2
+ <a href="https://kubb.dev" target="_blank" rel="noopener noreferrer">
3
+ <img src="https://kubb.dev/og.png" alt="Kubb banner">
4
+ </a>
5
+
6
+ [![npm version][npm-version-src]][npm-version-href]
7
+ [![npm downloads][npm-downloads-src]][npm-downloads-href]
8
+ [![Stars][stars-src]][stars-href]
9
+ [![License][license-src]][license-href]
10
+ [![Node][node-src]][node-href]
11
+
12
+ <h4>
13
+ <a href="https://kubb.dev/plugins/fetch" target="_blank">Documentation</a>
14
+ <span> · </span>
15
+ <a href="https://github.com/kubb-labs/kubb/issues/" target="_blank">Report Bug</a>
16
+ <span> · </span>
17
+ <a href="https://github.com/kubb-labs/kubb/issues/" target="_blank">Request Feature</a>
18
+ </h4>
19
+ </div>
20
+
21
+ <br />
22
+
23
+ # @kubb/plugin-fetch
24
+
25
+ ### Generate fetch clients with Kubb
26
+
27
+ `@kubb/plugin-fetch` generates a type-safe HTTP client from your OpenAPI spec, with one async function per operation and the runtime bundled into `.kubb/client.ts`.
28
+
29
+ ## Installation
30
+
31
+ ```bash
32
+ bun add @kubb/plugin-fetch
33
+ # or
34
+ pnpm add @kubb/plugin-fetch
35
+ # or
36
+ npm install @kubb/plugin-fetch
37
+ ```
38
+
39
+ ## Documentation
40
+
41
+ See the [full documentation](https://kubb.dev/plugins/fetch) for configuration options and examples.
42
+
43
+ ## Supporting Kubb
44
+
45
+ Kubb is an open source project, and its development is funded entirely by sponsors. If you would like to become a sponsor, please consider:
46
+
47
+ - [Become a Sponsor on GitHub](https://github.com/sponsors/stijnvanhulle)
48
+
49
+ <p align="center">
50
+ <a href="https://github.com/sponsors/stijnvanhulle">
51
+ <img src="https://raw.githubusercontent.com/stijnvanhulle/sponsors/main/sponsors.svg" alt="My sponsors" />
52
+ </a>
53
+ </p>
54
+
55
+ ## License
56
+
57
+ [MIT](https://github.com/kubb-labs/plugins/blob/main/LICENSE)
58
+
59
+ <!-- Badges -->
60
+
61
+ [npm-version-src]: https://shieldcn.dev/npm/v/@kubb/plugin-fetch.svg?variant=secondary&size=xs&theme=zinc&mode=dark
62
+ [npm-version-href]: https://npmx.dev/package/@kubb/plugin-fetch
63
+ [npm-downloads-src]: https://shieldcn.dev/npm/dm/@kubb/plugin-fetch.svg?variant=secondary&size=xs&theme=zinc&mode=dark
64
+ [npm-downloads-href]: https://npmx.dev/package/@kubb/plugin-fetch
65
+ [stars-src]: https://shieldcn.dev/github/stars/kubb-labs/kubb.svg?variant=secondary&size=xs&theme=zinc&mode=dark
66
+ [stars-href]: https://github.com/kubb-labs/kubb
67
+ [license-src]: https://shieldcn.dev/npm/license/@kubb/plugin-fetch.svg?variant=secondary&size=xs&theme=zinc
68
+ [license-href]: https://github.com/kubb-labs/kubb/blob/main/LICENSE
69
+ [node-src]: https://shieldcn.dev/npm/node/@kubb/plugin-fetch.svg?variant=secondary&size=xs&theme=zinc&mode=dark
70
+ [node-href]: https://npmx.dev/package/@kubb/plugin-fetch