openapi-fetchv0.17.0, 11 Feb 2026
Fast, type-safe fetch client for your OpenAPI schema. Only 6 kb (min). Works with React, Vue, Svelte, or vanilla JS.
$ npm install openapi-fetchzod-openapiv6.0.2, 31 Aug 2026
Convert Zod Schemas to OpenAPI v3.x documentation
$ npm install zod-openapi| Metric | openapi-fetch | zod-openapi | Difference |
|---|---|---|---|
| Weekly downloads | 6,577,083 | 993,987 | openapi-fetch 6.6x higher |
| 12-month download growth | +383% | +287% | openapi-fetch +96 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 1 | 0 | openapi-fetch 1 more |
| Unpacked size | 223 kB | 191 kB | zod-openapi 17% smaller |
| Latest release | 0.17.0, 11 Feb 2026 | 6.0.2, 31 Aug 2026 | zod-openapi 7 months more recent |
| Releases, last 12 months | 5 | 8 | zod-openapi 3 more |
| First published | 14 Mar 2023 | 20 Mar 2023 | openapi-fetch 7 days earlier |
| GitHub stars | 8,382 | 646 | openapi-fetch 13.0x higher |
| Open issues | 210 | 7 | openapi-fetch 203 more |
| Open pull requests | 80 | 5 | openapi-fetch 75 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 212 | 40 | openapi-fetch 5.3x higher |
| TypeScript types | Bundled | Bundled | Same |
| Module format | ESM + CommonJS | ESM + CommonJS | Same |
| Runtimes | - | - | - |
| License | MIT | MIT | Same |
Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.
openapi-fetch6.5m latest weekzod-openapi994k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
openapi-fetch
Major versions
- 0.0.014 Mar 2023
Last 5 releases
- 0.17.011 Feb 2026
- 0.16.08 Feb 2026
- 0.15.28 Feb 2026
- 0.15.014 Oct 2025
- 0.14.12 Oct 2025
77 releases in total, 5 in the last 12 months
zod-openapi
Major versions
- 0.1.014 Apr 2023
- 1.0.025 Apr 2023
- 2.0.030 Apr 2023
- 3.0.020 Sept 2024
- 4.0.010 Nov 2024
- 5.0.05 Jul 2025
- 6.0.014 Jun 2026
Last 5 releases
- 6.0.231 Aug 2026
- 6.0.113 Aug 2026
- 6.0.014 Jun 2026
- 5.4.65 Jan 2026
- 5.4.527 Nov 2025
87 releases in total, 8 in the last 12 months
openapi-fetch
-
zod-openapi
-
openapi-fetch
-
zod-openapi
-
- Need no runtime dependencieszod-openapi (openapi-fetch has 1, zod-openapi has 0)
- Module formatBoth ESM + CommonJS
- Need TypeScript types in the package itselfBoth
- Node.js version requirementopenapi-fetch: none declared; zod-openapi: >=22.14.0 (engines field in package.json)
- Need the more recent releasezod-openapi (6.0.2 on 31 Aug 2026 vs 0.17.0 on 11 Feb 2026)
- Higher weekly npm downloadsopenapi-fetch (6.6m vs 994k)
Each line is generated from the data above.
- openapi-fetch vs openapi-typescript-codegenNo search data
- openapi-fetch vs openapi-client-axiosNo search data
- openapi-fetch vs @hey-api/openapi-tsNo search data
- openapi-fetch vs @kubb/oasNo search data
- openapi-fetch vs oazapftsNo search data
- openapi-types vs openapi-fetchNo search data
- @asteasolutions/zod-to-openapi vs zod-openapiNo search data
- @hey-api/openapi-ts vs zod-openapiNo search data
- zod-openapi vs openapi-client-axiosNo search data
- zod-openapi vs openapi-typescript-codegenNo search data
- zod-openapi vs @kubb/oasNo search data
- zod-openapi vs oazapftsNo search data
- openapi-types vs zod-openapiNo search data
openapi-fetch: openapi-fetch npm registry, openapi-fetch npm downloads, openapi-fetch GitHub. Data fetched 25 Sept 2026.
zod-openapi: zod-openapi npm registry, zod-openapi npm downloads, zod-openapi GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.