Tool for documenting TypeScript APIs using API Extractor Model with support for Markdown, Docusaurus (WIP) and HTML (WIP). Alternative to api-documenter and TypeDoc with better UX, much richer API presentation and support for single and multi page documentation.
- Creates
docs.config.json,api-extractor.jsonandtsdoc.jsonfiles with default values
npx docs-typescript init- Defaults to
types/index.d.tsfile
npx docs-typescript extract- Defaults to
api.jsonfile, createsdocsfolder with documentation
npx docs-typescript buildFor all the details see DocsTypeScript.com, for API documentation see DocsTypeScript.com/api (Work in Progress)
Supported TSDoc tags
@link@remarks@example@type@typeParam@returns@info@warning@error@author@since@public@beta@alpha@internal@deprecated
For more informations visit Doc comment syntax
- Markdown support
- Single page / Multi page
- Project website
- Support for
@linktag - React support (categories for components/hooks/providers)
- Mermaid support to present inheritance and dependencies
- Create and use api-extractor alternative in form of extractor-typescript
- Docusaurus (MDX) output support
- HTML output support