
Security News
n8n Tops 2025 JavaScript Rising Stars as Workflow Platforms Gain Momentum
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.
@denali-js/documenter
Advanced tools
Generate documentation for your JavaScript or Typescript projects!
Includes support for API reference docs generated automatically from code comments, as well as Markdown guides.
Documenter does not generate HTMl or any other kind of rendered output - it only extracts the documentation from your codebase and supplies it in a structured, consistent format for you to render as you wish.
Used by the Denali CLI to generate documentation for Denali projects, but it's not tied to Denali projects only.
You can use the extracter directly:
import { Extracter } from 'documenter';
let extracter = new Extracter({
// The base directory to start everything from
dir: process.cwd(),
// The directory to scan for Markdown files
pagesDir: 'guides',
// An array of glob patterns to search for source files
sourceDirs: [ 'src' ],
// The name of the project
projectName: 'typescript-project',
// The current version of the project
projectVersion: '1.0.0'
});
let docs = extracter.extract();
Or, if you happen to be using Broccoli, you can use the Broccoli plugin:
import { ExtracterTree } from 'documenter';
// inputTree should contain the pages and source you want to extract
// All paths will be relative to the inputTree
let extracter = new ExtracterTree(inputTree, {
// The directory to scan for Markdown files
pagesDir: 'guides',
// An array of glob patterns to search for source files
sourceDirs: [ 'src' ],
// The name of the project
projectName: 'typescript-project',
// The current version of the project
projectVersion: '1.0.0'
});
// The Broccoli plugin will write out the resulting docs data to `docs.json`
// If a `docs.json` exists in the inputTree, it will simply copy that over
// and skip the extraction.
For an example of what the final docs structure looks like, check the test output helper file.
FAQs
Generate docs data from a Javascript or Typescript project
We found that @denali-js/documenter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.