Skip to content
JS
Comparison

openapi-fetch vs openapi-client-axios

Documentation toolingPackage data 25 Sept 2026
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
openapi-client-axiosv7.9.0, 22 Feb 2026

JavaScript client library for consuming OpenAPI-enabled APIs with axios. Types included.

$ npm install openapi-client-axios
Metricopenapi-fetchopenapi-client-axiosDifference
Weekly downloads6,577,083184,165openapi-fetch 35.7x higher
12-month download growth+383%+159%openapi-fetch +224 pts
Gzip size---
Minified size---
Dependencies13openapi-client-axios 2 more
Unpacked size223 kB82 kBopenapi-client-axios 2.7x smaller
Latest release0.17.0, 11 Feb 20267.9.0, 22 Feb 2026openapi-client-axios 11 days more recent
Releases, last 12 months5--
First published14 Mar 2023--
GitHub stars8,382616openapi-fetch 13.6x higher
Open issues21026openapi-fetch 184 more
Open pull requests800openapi-fetch 80 more
Contributors---
Commits, last 52 weeks21215openapi-fetch 14.1x higher
TypeScript typesBundledBundledSame
Module formatESM + CommonJSCommonJSDiffers
Runtimes---
LicenseMITMITSame

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
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

openapi-fetch

Major versions
  1. 0.0.014 Mar 2023
Last 5 releases
  1. 0.17.011 Feb 2026
  2. 0.16.08 Feb 2026
  3. 0.15.28 Feb 2026
  4. 0.15.014 Oct 2025
  5. 0.14.12 Oct 2025
77 releases in total, 5 in the last 12 months

openapi-client-axios

Major versions
  1. -
Last 5 releases
  1. -
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.

Indexability: Indexed.