Generates Markdown API documentation from JSDoc-annotated JavaScript source code. Current stable version is 9.1.3, released January 2025. The library provides a CLI and a programmable API. It was the first tool to generate Markdown from JSDoc and remains the most popular. Active development with multiple releases per year; breaking changes are managed via major version bumps. Requires Node.js >=12.17. Peer dependency on @75lb/nature for theming. Notable breaking changes include removal of sync methods in v9.0.0 and removal of lodash.omit dependency in v9.1.3.
npm install jsdoc-to-markdownVerified import paths — ran on the pinned version, not inferred.
Renders markdown from a single JSDoc-annotated file using the async API.
Use async/await or Promises: const output = await jsdoc2md.render({ ... })Always provide files (array) or source (string) input.
Update Node.js to version 12 or higher.
Upgrade to jsdoc-to-markdown v9.1.3 or later.
No action needed; if you were relying on lodash.omit, install it explicitly.
Upgrade to jsdoc-to-markdown v9.0.5 or later.
Upgrade to jsdoc-to-markdown v9.0.4 or later.
Use async/await: const output = await jsdoc2md.render({ ... })Provide files (array of paths) or source (string of code) to the render method.
Upgrade to jsdoc-to-markdown v9.0.4 or later.
Upgrade to v9.0.5+ or ensure jsdoc path has no spaces.