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-fetch| Metric | openapi-types | openapi-fetch | Difference |
|---|---|---|---|
| Weekly downloads | 10,037,873 | 6,577,083 | openapi-types 1.5x higher |
| 12-month download growth | +102% | +383% | openapi-fetch +282 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 0 | 1 | openapi-fetch 1 more |
| Unpacked size | 32 kB | 223 kB | openapi-types 7.0x smaller |
| Latest release | 12.1.3, 24 May 2023 | 0.17.0, 11 Feb 2026 | openapi-fetch 2.7 years more recent |
| Releases, last 12 months | 0 | 5 | openapi-fetch 5 more |
| First published | 29 Jun 2018 | 14 Mar 2023 | openapi-types 4.7 years earlier |
| GitHub stars | 921 | 8,382 | openapi-fetch 9.1x higher |
| Open issues | 118 | 210 | openapi-fetch 92 more |
| Open pull requests | 27 | 80 | openapi-fetch 53 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 0 | 212 | openapi-fetch higher |
| TypeScript types | Bundled | Bundled | Same |
| Module format | CommonJS | ESM + CommonJS | Differs |
| 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-types9.9m latest weekopenapi-fetch6.5m latest week
Week of 23 Sept 2025Week of 15 Sept 2026
openapi-types
Major versions
- 1.0.129 Jun 2018
- 7.0.020 Jul 2020
- 8.0.08 Apr 2021
- 9.0.014 May 2021
- 10.0.02 Dec 2021
- 11.0.013 Apr 2022
- 12.0.03 Jun 2022
Last 5 releases
- 12.1.324 May 2023
- 12.1.224 May 2023
- 12.1.120 May 2023
- 12.1.09 Dec 2022
- 12.0.231 Aug 2022
36 releases in total, 0 in the last 12 months
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
openapi-types
-
openapi-fetch
-
openapi-types
-
openapi-fetch
-
- Need no runtime dependenciesopenapi-types (openapi-types has 0, openapi-fetch has 1)
- Need both ESM and CommonJS entry pointsopenapi-fetch (openapi-types: CommonJS; openapi-fetch: ESM + CommonJS)
- Need to load it with require()Both
- Need TypeScript types in the package itselfBoth
- Need the more recent releaseopenapi-fetch (0.17.0 on 11 Feb 2026 vs 12.1.3 on 24 May 2023)
- Higher weekly npm downloadsopenapi-types (10m vs 6.6m)
Each line is generated from the data above.
- openapi-types vs zod-openapiNo search data
- openapi-types vs oazapftsNo search data
- openapi-types vs openapi-typescript-codegenNo search data
- openapi-types vs @scalar/openapi-typesNo search data
- openapi-fetch vs openapi-typescript-codegenNo search data
- openapi-fetch vs openapi-client-axiosNo search data
- openapi-fetch vs zod-openapiNo 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: openapi-types npm registry, openapi-types npm downloads, openapi-types GitHub. Data fetched 25 Sept 2026.
openapi-fetch: openapi-fetch npm registry, openapi-fetch npm downloads, openapi-fetch GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.