Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
JSDoc to Markdown, Bootstrap, and custom JavaScript template documentation generator.
Doxdox is an open-source documentation generator that converts JSDoc comment blocks in JavaScript source files into Markdown, Bootstrap HTML, GitHub Wiki, JSON, PDF, and Dash documentation formats.
Doxdox is a Node.js command-line tool (published as the npm package doxdox-cli) that parses JSDoc comment blocks from JavaScript files and renders them into multiple output formats. It takes glob patterns and file paths as input, and produces documentation files or stdout output. The project is developed in the docsbydoxdox/doxdox GitHub repository under the MIT license, with a notice that a massive rewrite is currently in progress.
doxdox '**/*.js' or import doxdox as an ES module in a Node.js project and call it programmatically.tests/**/*.js.doxdox '**/*.js' > docs.md.doxdox 'lib/**/*.js' --renderer markdown --output DOCUMENTATION.md.doxdox 'lib/**/*.js' --renderer markdown --output DOCUMENTATION.md for a Markdown reference file.doxdox '**/*.js' --renderer bootstrap --output docs.html to produce a styled, self-contained HTML page.--renderer json --output docs.json to feed the doc data into other tools.Doxdox scans JavaScript files matching the supplied glob patterns, extracts JSDoc comment blocks through a parser plugin (defaulting to jsdoc), and builds a documentation object. That object is passed to a renderer plugin, which serializes it into the selected format (Markdown, Bootstrap, JSON, etc.) and writes the result to stdout or the --output file.
Yes, doxdox is open-source software released under the MIT license. You can install it from npm and use it in commercial projects without a license fee.
Install the CLI globally with npm install [email protected] -g or as a dev dependency with npm install [email protected] --save-dev. The README notes the repository is under a massive rewrite, so versions are preview releases.
The bundled renderers output Markdown, Bootstrap HTML, and JSON. Separate optional renderers add GitHub Wiki, PDF, and Dash. You select one with the --renderer option.
Pass one or more --ignore flags on the command line, e.g. doxdox '**/*.js' --ignore '**/*.test.js', or create a .doxdoxignore file with patterns like tests/**/*.js. The file follows the same syntax as .gitignore.
