Skip to content
JS
Comparison

typedoc vs openapi-typescript-codegen

Documentation toolingPackage data 25 Sept 2026
typedocv0.28.20, 5 Jul 2026

Create api documentation for TypeScript projects.

$ npm install typedoc
openapi-typescript-codegenv0.31.0, 20 Jun 2026

Library that generates Typescript clients based on the OpenAPI specification.

$ npm install openapi-typescript-codegen
Metrictypedocopenapi-typescript-codegenDifference
Weekly downloads3,805,023346,049typedoc 11.0x higher
12-month download growth+86%+54%typedoc +32 pts
Gzip size---
Minified size---
Dependencies55Same
Unpacked size2.1 MB225 kBopenapi-typescript-codegen 9.4x smaller
Latest release0.28.20, 5 Jul 20260.31.0, 20 Jun 2026typedoc 15 days more recent
Releases, last 12 months72typedoc 5 more
First published24 May 201424 Nov 2019typedoc 5.5 years earlier
GitHub stars8,4523,369typedoc 2.5x higher
Open issues12169openapi-typescript-codegen 157 more
Open pull requests744openapi-typescript-codegen 37 more
Contributors---
Commits, last 52 weeks138423openapi-typescript-codegen 3.1x higher
TypeScript typesBundledBundledSame
Module formatESM onlyCommonJSDiffers
Runtimes---
LicenseApache-2.0MITDiffers

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

typedoc

Major versions
  1. 0.0.124 May 2014
Last 5 releases
  1. 0.28.205 Jul 2026
  2. 0.28.1912 Apr 2026
  3. 0.28.1823 Mar 2026
  4. 0.28.1713 Feb 2026
  5. 0.28.1612 Jan 2026
256 releases in total, 7 in the last 12 months

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
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.

Indexability: Indexed.