openapi-typescript-codegenv0.31.0, 20 Jun 2026
Library that generates Typescript clients based on the OpenAPI specification.
$ npm install openapi-typescript-codegen@kubb/oasv4.39.3, 4 Aug 2026
OpenAPI Specification (OAS) utilities and helpers for Kubb, providing parsing, normalization, and manipulation of OpenAPI/Swagger schemas.
$ npm install @kubb/oas| Metric | openapi-typescript-codegen | @kubb/oas | Difference |
|---|---|---|---|
| Weekly downloads | 346,049 | 166,505 | openapi-typescript-codegen 2.1x higher |
| 12-month download growth | +54% | - | - |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 5 | 11 | @kubb/oas 6 more |
| Unpacked size | 225 kB | 276 kB | openapi-typescript-codegen 22% smaller |
| Latest release | 0.31.0, 20 Jun 2026 | 4.39.3, 4 Aug 2026 | @kubb/oas 44 days more recent |
| Releases, last 12 months | 2 | - | - |
| First published | 24 Nov 2019 | - | - |
| GitHub stars | 3,369 | 1,804 | openapi-typescript-codegen 1.9x higher |
| Open issues | 169 | 5 | openapi-typescript-codegen 164 more |
| Open pull requests | 44 | 1 | openapi-typescript-codegen 43 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 423 | 4,820 | @kubb/oas 11.4x 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-typescript-codegen346k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
openapi-typescript-codegen
Major versions
- 0.0.124 Nov 2019
Last 5 releases
- 0.31.020 Jun 2026
- 0.30.022 Dec 2025
- 0.29.07 Apr 2024
- 0.28.019 Mar 2024
- 0.27.015 Jan 2024
99 releases in total, 2 in the last 12 months
@kubb/oas
Major versions
- -
Last 5 releases
- -
Release count not fetched
openapi-typescript-codegen
-
@kubb/oas
-
openapi-typescript-codegen
-
@kubb/oas
-
- Need both ESM and CommonJS entry points@kubb/oas (openapi-typescript-codegen: CommonJS; @kubb/oas: ESM + CommonJS)
- Need to load it with require()Both
- Need TypeScript types in the package itselfBoth
- Node.js version requirementopenapi-typescript-codegen: none declared; @kubb/oas: >=20 (engines field in package.json)
- Need the more recent release@kubb/oas (4.39.3 on 4 Aug 2026 vs 0.31.0 on 20 Jun 2026)
- Higher weekly npm downloadsopenapi-typescript-codegen (346k vs 166.5k)
Each line is generated from the data above.
- @hey-api/openapi-ts vs openapi-typescript-codegenNo search data
- openapi-typescript-codegen vs openapi-client-axiosNo search data
- openapi-fetch vs openapi-typescript-codegenNo search data
- zod-openapi vs openapi-typescript-codegenNo search data
- typedoc vs openapi-typescript-codegenNo search data
- openapi-types vs openapi-typescript-codegenNo search data
- @asteasolutions/zod-to-openapi vs @kubb/oasNo search data
- openapi-client-axios vs @kubb/oasNo search data
- zod-openapi vs @kubb/oasNo search data
- openapi-fetch vs @kubb/oasNo search data
openapi-typescript-codegen: openapi-typescript-codegen npm registry, openapi-typescript-codegen npm downloads, openapi-typescript-codegen GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.