openapi-typescript-codegenv0.31.0, 20 Jun 2026
Library that generates Typescript clients based on the OpenAPI specification.
$ npm install openapi-typescript-codegen| Metric | typedoc | openapi-typescript-codegen | Difference |
|---|---|---|---|
| Weekly downloads | 3,805,023 | 346,049 | typedoc 11.0x higher |
| 12-month download growth | +86% | +54% | typedoc +32 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 5 | 5 | Same |
| Unpacked size | 2.1 MB | 225 kB | openapi-typescript-codegen 9.4x smaller |
| Latest release | 0.28.20, 5 Jul 2026 | 0.31.0, 20 Jun 2026 | typedoc 15 days more recent |
| Releases, last 12 months | 7 | 2 | typedoc 5 more |
| First published | 24 May 2014 | 24 Nov 2019 | typedoc 5.5 years earlier |
| GitHub stars | 8,452 | 3,369 | typedoc 2.5x higher |
| Open issues | 12 | 169 | openapi-typescript-codegen 157 more |
| Open pull requests | 7 | 44 | openapi-typescript-codegen 37 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 138 | 423 | openapi-typescript-codegen 3.1x higher |
| TypeScript types | Bundled | Bundled | Same |
| Module format | ESM only | CommonJS | Differs |
| Runtimes | - | - | - |
| License | Apache-2.0 | MIT | Differs |
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.
typedoc3.8m latest weekopenapi-typescript-codegen346k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
typedoc
Major versions
- 0.0.124 May 2014
Last 5 releases
- 0.28.205 Jul 2026
- 0.28.1912 Apr 2026
- 0.28.1823 Mar 2026
- 0.28.1713 Feb 2026
- 0.28.1612 Jan 2026
256 releases in total, 7 in the last 12 months
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
typedoc
-
openapi-typescript-codegen
-
typedoc
-
openapi-typescript-codegen
-
- Need both ESM and CommonJS entry pointsNeither (typedoc: ESM only; openapi-typescript-codegen: CommonJS)
- Need to load it with require()openapi-typescript-codegen
- Need TypeScript types in the package itselfBoth
- Node.js version requirementtypedoc: >= 18; openapi-typescript-codegen: none declared (engines field in package.json)
- Need the more recent releasetypedoc (0.28.20 on 5 Jul 2026 vs 0.31.0 on 20 Jun 2026)
- Higher weekly npm downloadstypedoc (3.8m vs 346k)
- Licensetypedoc: Apache-2.0; openapi-typescript-codegen: MIT
Each line is generated from the data above.
- @microsoft/tsdoc vs typedocNo search data
- typedoc vs jsdoc-to-markdownNo search data
- @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
- openapi-typescript-codegen vs @kubb/oasNo search data
- openapi-types vs openapi-typescript-codegenNo search data
typedoc: typedoc npm registry, typedoc npm downloads, typedoc GitHub, typedoc jsDelivr. Data fetched 25 Sept 2026.
openapi-typescript-codegen: openapi-typescript-codegen npm registry, openapi-typescript-codegen npm downloads, openapi-typescript-codegen GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.