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-fetchopenapi-client-axiosv7.9.0, 22 Feb 2026
JavaScript client library for consuming OpenAPI-enabled APIs with axios. Types included.
$ npm install openapi-client-axios| Metric | openapi-fetch | openapi-client-axios | Difference |
|---|---|---|---|
| Weekly downloads | 6,577,083 | 184,165 | openapi-fetch 35.7x higher |
| 12-month download growth | +383% | +159% | openapi-fetch +224 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 1 | 3 | openapi-client-axios 2 more |
| Unpacked size | 223 kB | 82 kB | openapi-client-axios 2.7x smaller |
| Latest release | 0.17.0, 11 Feb 2026 | 7.9.0, 22 Feb 2026 | openapi-client-axios 11 days more recent |
| Releases, last 12 months | 5 | - | - |
| First published | 14 Mar 2023 | - | - |
| GitHub stars | 8,382 | 616 | openapi-fetch 13.6x higher |
| Open issues | 210 | 26 | openapi-fetch 184 more |
| Open pull requests | 80 | 0 | openapi-fetch 80 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 212 | 15 | openapi-fetch 14.1x higher |
| TypeScript types | Bundled | Bundled | Same |
| Module format | ESM + CommonJS | 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-fetch6.5m latest weekopenapi-client-axios176.6k 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
openapi-client-axios
Major versions
- -
Last 5 releases
- -
Release count not fetched
openapi-fetch
-
openapi-client-axios
-
openapi-fetch
-
openapi-client-axios
-
- Need both ESM and CommonJS entry pointsopenapi-fetch (openapi-fetch: ESM + CommonJS; openapi-client-axios: CommonJS)
- Need to load it with require()Both
- Need TypeScript types in the package itselfBoth
- Need the more recent releaseopenapi-client-axios (7.9.0 on 22 Feb 2026 vs 0.17.0 on 11 Feb 2026)
- Higher weekly npm downloadsopenapi-fetch (6.6m vs 184.2k)
Each line is generated from the data above.
- openapi-fetch vs openapi-typescript-codegenNo 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 vs openapi-fetchNo search data
- openapi-typescript-codegen vs openapi-client-axiosNo search data
- zod-openapi vs openapi-client-axiosNo search data
- openapi-client-axios vs @kubb/oasNo search data
- @tsoa/runtime vs openapi-client-axiosNo search data
openapi-fetch: openapi-fetch npm registry, openapi-fetch npm downloads, openapi-fetch GitHub. Data fetched 25 Sept 2026.
openapi-client-axios: openapi-client-axios npm registry, openapi-client-axios npm downloads, openapi-client-axios GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.