Skip to content
JS
Comparison

openapi-typescript-codegen vs openapi-client-axios

Documentation toolingPackage data 25 Sept 2026
openapi-typescript-codegenv0.31.0, 20 Jun 2026

Library that generates Typescript clients based on the OpenAPI specification.

$ npm install openapi-typescript-codegen
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-typescript-codegenopenapi-client-axiosDifference
Weekly downloads346,049184,165openapi-typescript-codegen 1.9x higher
12-month download growth+54%+159%openapi-client-axios +105 pts
Gzip size---
Minified size---
Dependencies53openapi-typescript-codegen 2 more
Unpacked size225 kB82 kBopenapi-client-axios 2.7x smaller
Latest release0.31.0, 20 Jun 20267.9.0, 22 Feb 2026openapi-typescript-codegen 4 months more recent
Releases, last 12 months2--
First published24 Nov 2019--
GitHub stars3,369616openapi-typescript-codegen 5.5x higher
Open issues16926openapi-typescript-codegen 143 more
Open pull requests440openapi-typescript-codegen 44 more
Contributors---
Commits, last 52 weeks42315openapi-typescript-codegen 28.2x higher
TypeScript typesBundledBundledSame
Module formatCommonJSCommonJSSame
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-typescript-codegen346k 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-typescript-codegen

Major versions
  1. 0.0.124 Nov 2019
Last 5 releases
  1. 0.31.020 Jun 2026
  2. 0.30.022 Dec 2025
  3. 0.29.07 Apr 2024
  4. 0.28.019 Mar 2024
  5. 0.27.015 Jan 2024
99 releases in total, 2 in the last 12 months

openapi-client-axios

Major versions
  1. -
Last 5 releases
  1. -
Release count not fetched
openapi-typescript-codegen

-

openapi-client-axios

-

openapi-typescript-codegen

-

openapi-client-axios

-

  • Module formatBoth CommonJS
  • Need TypeScript types in the package itselfBoth
  • Need the more recent releaseopenapi-typescript-codegen (0.31.0 on 20 Jun 2026 vs 7.9.0 on 22 Feb 2026)
  • Higher weekly npm downloadsopenapi-typescript-codegen (346k vs 184.2k)

Each line is generated from the data above.