Domain Rating
by Ahrefs
Domain Rating by Ahrefs83
Description
TypeDoc is a documentation generator for TypeScript projects. It converts the comments in TypeScript source code into HTML documentation, or into a JSON model that other tools can use. It generates documentation from your exports and follows re-exports, so members declared in other files are documented for each entry point. You install it as a development dependency with npm and run npx typedoc, and it reads the entry points from the package.json exports or main fields. If it cannot find the entry points, you can name a file such as src/index.ts. For an application rather than a library, which has no single entry point, TypeDoc can document each file under a folder by using the Expand entry point strategy. The tool supports many options and themes, including light, dark and OS-based modes, and its functionality can be extended with a plugin API. The documentation site includes a settings reference, examples and a link to the GitHub project. TypeDoc is maintained on GitHub under the TypeStrong organization.…
Highlights
- HTML or JSON output from TypeScript comments
- Follows re-exports across files
- Light, dark and OS themes
- Plugin API
- Expand strategy for applications
Ratings & Reviews
No ratings yet
Be the first to rate Typedoc.
People also visit
Typedoc FAQ
What is TypeDoc?
A documentation generator for TypeScript projects that turns source code comments into HTML or JSON.
How do I install it?
Install it as a dev dependency with npm install --save-dev typedoc, then run npx typedoc.
How does it choose what to document?
By default it uses the exports or main fields of package.json. You can also name the entry point file yourself.
Can it document an application?
Yes. Use the Expand entry point strategy to document each TypeScript file under a folder.
Can I change the look?
Yes. TypeDoc has themes for light, dark and OS modes, and the options can be set in configuration.
Can I extend it?
Yes. It has a plugin API for adding functionality.
What are the best Typedoc alternatives?
Popular alternatives to Typedoc include Deno Doc, Sveld and Jsdoc To Markdown. See all Typedoc alternatives
