TypeDoc
Reasonable, with limits. 6th of 9 documentation site generators.
TypeDoc builds API reference sites from the types and doc comments in TypeScript code. It is the standard tool for that job, but it is not a general Markdown documentation site generator, and its move to TypeScript 7 is still unfinished.
Best for: Authors of TypeScript libraries who want an API reference generated from their types, on its own or fed into Docusaurus or Starlight.
Scores
Overall6.4
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
For a TypeScript library's API reference, it is the clear pick. It is often paired with Docusaurus or Starlight for the guides. It is not the tool for turning Markdown into a docs site, which is this category's job. Its dependence on one maintainer and the unfinished TypeScript 7 port also lower confidence for the next two years.
- github.com/TypeStrong/typedoc/issues/3098: TS7 port pending
- pistack.xyz/posts/2026-11-03-typedoc-vs-api-extractor-vs-jsdoc-typescript-api-docs: Right choice for TypeScript library docs
- dependents: Widest dependent base in the bundle
GPT-6.2 Sol: 6.2, likely 5.0 to 7.4
TypeDoc is a good choice when generated TypeScript reference pages are central to the site and the docs build can use TypeScript 5 or 6. Docusaurus and Starlight are better starting points for sites built mainly from Markdown. The unresolved TypeScript 7 port is the main uncertainty for a new project, and a separate TypeScript 6 docs build is a documented workaround.
- typedoc.org/documents/External_Documents.html: Supports guides alongside generated reference pages.
- docusaurus.io/docs/versioning: Offers a built-in workflow for versioning Markdown documentation.
- starlight.astro.build/guides/sidebar: Builds navigation from the Markdown directory by default.
- github.com/TypeStrong/typedoc/issues/3098: TypeScript 7 support remains in progress.
- github.com/typesafe-ai/typesafe-sdk-js/blob/main/docs/README.md: An SDK on TypeScript 7 isolates TypeDoc in a TypeScript 6 docs build.
Needed by many4.0
How many developers need a tool for this job?
Claude Opus 5.5: 4.0, likely 3.0 to 5.5
It serves TypeScript projects that publish an API, mostly library and SDK authors. That is a clear group, but a narrower one than everyone who needs a Markdown docs site. It also fits only TypeScript, or JavaScript with JSDoc types.
- project.note: Writes reference pages from TypeScript types
- pistack.xyz/posts/2026-11-03-typedoc-vs-api-extractor-vs-jsdoc-typescript-api-docs: A weak fit for plain JavaScript projects
GPT-6.2 Sol: 3.9, likely 2.8 to 5.0
Markdown documentation sites serve many JavaScript and TypeScript teams. TypeDoc is most relevant to library and SDK teams that need a generated API reference alongside their guides. State of JavaScript shows extensive TypeScript use among respondents, but gives little basis for estimating how many need an API reference site.
- 2025.stateofjs.com/en-US/usage: The survey median was 88% TypeScript among respondents.
- typedoc.org: The main workflow starts with exported code and doc comments.
- typedoc.org/documents/External_Documents.html: Standalone Markdown guides can be added and nested.
Helps a lot6.7
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
For API reference from TypeScript it is the best tool available. It handles complex types well, supports monorepos, and outputs both HTML and JSON. As a docs site for guides it is clearly weaker than peers such as Starlight or Docusaurus. It also cannot run on TypeScript 7 yet, which limits it for projects moving to the native compiler.
- pistack.xyz/posts/2026-11-03-typedoc-vs-api-extractor-vs-jsdoc-typescript-api-docs: Best generator for TypeScript; fragile plugins
- donmccurdy.com/2022/12/03/improving-api-documentation-in-typescript-pt-1: Most popular, but recommended with caveats
- typedoc.org/documents/Doc_Comments.TSDoc_Support.html: Does not enforce TSDoc strictly
- github.com/TypeStrong/typedoc/issues/3098: TypeScript 7 support still in progress
GPT-6.2 Sol: 6.3, likely 5.2 to 7.4
TypeDoc 0.28.20 builds cross-linked API pages and standalone Markdown guides, with useful link warnings and a configuration schema. Starlight builds pages and navigation from the Markdown directory, and Docusaurus provides built-in docs versioning. TypeDoc's TypeScript 6.0 ceiling adds setup for teams using TypeScript 7, and current comparative performance data is thin.
- typedoc.org/documents/External_Documents.html: Markdown guides support globs, frontmatter, and nested pages.
- typedoc.org/documents/Options.Validation.html: Broken links and missing exports can fail a build.
- github.com/TypeStrong/typedoc/blob/v0.28.20/package.json: Ships a configuration schema and declares TypeScript 5.0 through 6.0 support.
- github.com/TypeStrong/typedoc/discussions/3030: A user built 25,000 Markdown pages and reported sidebar lag in 2025.
- starlight.astro.build/guides/sidebar: Starlight generates navigation from the docs directory.
- docusaurus.io/docs/versioning: Docusaurus ships documentation versioning.
Holds up over time5.5
Will it still be a good choice in two years?
Claude Opus 5.5: 5.5, likely 4.0 to 7.0
There were 6 releases and 119 commits in the last year, and only 22 issues are open, so maintenance is careful. But the work rests mostly on one maintainer, and the last push was in July 2026. The TypeScript 7 rewrite has no timeline, and other projects are pinning TypeScript below 7 while they wait. A contributor's port branch passes tests on 7.1 beta, which makes a path forward likely.
- github commitsLastYear / releasesLastYear: 119 commits and 6 releases in the last year
- github pushedAt: Last push on 2026-07-13
- github.com/TypeStrong/typedoc/issues/3098: No timeline for TS7; PR review deferred
- devblogs.microsoft.com/typescript/announcing-typescript-7-0: TS 7.0 shipped without a compiler API
GPT-6.2 Sol: 5.4, likely 3.8 to 7.1
TypeDoc shipped six releases in the past year, though the last stable release was in July. Recent work centers on the TypeScript 7 port, which requires substantial compiler API changes and has pushed back routine pull request review. An experimental port has made progress, but the stable release timing is uncertain and much of the work depends on one maintainer's spare time.
- github.commitsLastYear, github.releasesLastYear, github.latestRelease: 119 commits and six releases, with the latest on July 5.
- github.com/TypeStrong/typedoc/releases: Recent patches added TypeScript 6 support and fixed rendering and conversion bugs.
- github.com/TypeStrong/typedoc/issues/3098: Tracks the compiler port, limited maintainer time, and deferred routine review.
- summary.ecosyste.ms/projects/383343: Several contributors remain active, with commits concentrated in one maintainer.
Used widely6.7
How many use it, and is that growing?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has 25.5M downloads in 4 weeks and 71k dependent repos plus 36k dependent packages, the highest in the bundle. Many of those downloads come from CI runs and from tooling that installs it. Its download ratio of about 2.5 is below the 4.1 median, so its share is falling even though its totals are large.
- npm downloadsLast4Weeks: 25.5M, against 10.2M a year ago
- medianDownloadsRatio: Ratio of 2.5, below the 4.1 median
- dependents: 71,458 repos and 35,918 packages
- bluesky posts: Only 3 posts; little attention
GPT-6.2 Sol: 6.4, likely 5.3 to 7.5
Ecosyste.ms sees about 71,500 dependent repositories, more than any peer with a reported count. The 25.5 million four-week downloads include repeat CI and plugin-driven installs, and many uses are for API reference generation within a broader site. Downloads grew 2.49× year over year, below the 4.1× benchmark and the growth rates of Docusaurus, VitePress, and Starlight, which signals a loss of relative ground.
- dependents.repos, dependents.packages, peers: 71,458 repositories and 35,918 packages in the dependency index.
- npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: Downloads rose from 10.2 million to 25.5 million, below the catalog growth benchmark.
- github.stars, bluesky.posts, hackerNews.stories: 8,461 stars, three Bluesky links, and zero matched Hacker News stories.
- docs.agent-assembly.com/node-sdk/0.0.1-rc.5/api-reference: Shows TypeDoc running through a Docusaurus plugin.
Vouched for6.7
Who stands behind it being good?
Claude Opus 5.5: 6.0, likely 4.5 to 7.5
Many TypeScript libraries publish their API docs with it, and the Docusaurus and Starlight ecosystems build integrations on top of it. Independent comparisons name it the default for TypeScript API docs. There is no survey data, and the written reviews are few or old.
- pistack.xyz/posts/2026-11-03-typedoc-vs-api-extractor-vs-jsdoc-typescript-api-docs: Independent 2026 comparison recommends it
- sitepen.com/blog/making-typedoc-better: SitePen chose it and contributed fixes
- blog.cloudflare.com/generating-documentation-for-typescript-projects: Cloudflare write-up on TS docs generation
- typedoc-plugin-markdown, docusaurus-plugin-typedoc, starlight-typedoc: Integrations for other doc frameworks
GPT-6.2 Sol: 7.3, likely 6.1 to 8.4
Babylon.js uses TypeDoc in its published API docs pipeline, and AWS recommends it for documenting CDK constructs. A developer who tried TypeDoc and API Extractor reported good cross-links and source links, along with confusing default navigation. The strongest endorsements concern generated API references, and evidence for guide-heavy sites is thinner.
- github.com/BabylonJS/Documentation/blob/master/documentation-modernization-plan.md: Documents TypeDoc's role in the public API, search, and sitemap builds.
- docs.aws.amazon.com/prescriptive-guidance/latest/best-practices-cdk-typescript-iac/documentation-best-practices.html: AWS recommends TypeDoc for CDK construct libraries.
- thecandidstartup.org/2024/08/05/bootstrapping-typedoc.html: Firsthand comparison reports useful API output and navigation friction.
- lgriffin.github.io/ESI.ts/guide/documentation: An independent project publishes TypeDoc output alongside VitePress guides.
Safe7.6
How safe is it to depend on?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
It has no advisories ever recorded, only 5 dependencies and a permissive Apache-2.0 licence. It is a dev-time tool that does not ship to production code. The Scorecard is from 2022 and weak on code review and branch protection, and releases depend on few publishers.
- advisories total: 0 advisories
- npm dependencies: 5 dependencies
- scorecard: 6.3 from 2022; Code-Review 1, Branch-Protection 0
- github license: Apache-2.0
GPT-6.2 Sol: 7.7, likely 6.4 to 8.9
TypeDoc is a build-time tool with five direct dependencies and a permissive Apache-2.0 license. The advisory snapshot lists zero direct advisories. Its GitHub Actions workflow tests before publishing and is configured for OIDC, though it references actions by version tags. The 2022 Scorecard flagged weak code review, token permissions, and branch protection, so present-day repository controls remain uncertain.
- npm.dependencies, npm.license, advisories.total: Five direct dependencies, Apache-2.0, and zero listed advisories.
- scorecard: 6.3 in 2022, with low review, token permission, and branch protection scores.
- github.com/TypeStrong/typedoc/blob/v0.28.20/.github/workflows/publish.yml: The release workflow tests before publishing and requests OIDC permissions.
- summary.ecosyste.ms/projects/383343: Lists four human npm maintainers and one bot account.
- github.com/TypeStrong/typedoc/security/policy: Supports the current minor release and accepts community security patches for the prior minor.
Good
- It reads types through the TypeScript compiler, so the reference always matches the code, including generics, unions and overloads.
- One config file and one command give a usable HTML site, or a JSON model for other tools.
- Plugins such as typedoc-plugin-markdown let you put the reference inside Docusaurus, Starlight or VitePress sites.
- It pulls in only 5 dependencies, has no known advisories and uses the Apache-2.0 licence.
Bad
- TypeScript 7 is not supported yet, so projects must pin TypeScript 6 until the port ships.
- It is not a full site generator for hand-written guides: its theming, search and Markdown pages fall far short of Docusaurus or Starlight.
- One main maintainer does most of the work, and feature work and PR review are paused for the TypeScript 7 port.
- Third-party plugins often lag behind minor releases, which can block upgrades.
The numbers
- npm downloads, 4 weeks
- 25M ×2.5 in a year
- GitHub stars
- 8.5k
- Commits, 12 months
- 119
- npm version
- 0.28.20 Jul 2026
- Versions, 12 months
- 6
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 6.3 out of 10, Aug 2022
- Licence
- Apache-2.0
It writes reference pages from the types in TypeScript code.
Read on 21 November 2026 from GitHub (TypeStrong/typedoc), npm (typedoc), OSV and the OpenSSF Scorecard.