A documentation generator for modern JavaScript that infers types and parameters from JSDoc comments.
Documentation.js is a documentation generator for modern JavaScript that parses JSDoc comments to automatically create API documentation. It supports ES2017+, JSX, Vue, and Flow type annotations, inferring parameters and types to reduce manual documentation effort. The tool outputs documentation in multiple formats like HTML, JSON, and Markdown, integrating with GitHub for source code linking.
JavaScript developers and teams who need to generate and maintain API documentation from JSDoc-annotated source code, especially those working with modern JavaScript features and type annotations.
Developers choose Documentation.js for its strong support of modern JavaScript syntax, automatic type inference that minimizes manual work, and flexible output formats that integrate seamlessly with existing workflows and GitHub.
:book: documentation for modern JavaScript
Supports ES2017+, JSX, Vue, and Flow type annotations, making it adaptable to diverse codebases as highlighted in the README.
Reduces manual effort by inferring parameters, types, and membership from code, aligning with the philosophy of letting computers handle documentation.
Integrates with GitHub to link documentation directly to source code, enhancing traceability as demonstrated in the usage examples.
Generates documentation in HTML, JSON, Markdown, and more, offering versatility for different documentation needs as shown in the examples.
The project has a dedicated page for current maintenance status, suggesting it may not be actively developed or updated frequently.
While it can parse TypeScript with flags like --parse-extension, it lacks native optimization compared to tools built specifically for TypeScript.
Requires understanding of multiple command-line options and configurations, which can be complex for straightforward documentation generation.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.