typedoc-better-json
Typedoc output transformer for generating docs for TypeScript libraries
TypeDoc's JSON output is extremely complex and hard to use for creating custom documentation websites. This library transforms it into a simpler, smaller, and organized JSON format that is easy to use for creating custom documentation websites
Simplified Types
TypeDoc outputs complex nested structures for TypeScript types. This library converts them into human-readable strings.
For example, TypeDoc output looks like this:
Compare this with the output from typedoc-better-json:
Markdown Parsing
JSDoc comments are fully parsed into structured markdown AST, including code blocks, lists, headings, and inline formatting.
For Example, this JSDoc comment:
Transforms into this JSON:
Organized Output
The output organizes your documentation by category - functions, hooks, components, types, variables, enums, and classes.