
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@node-core/doc-kit
Advanced tools
<source media="(prefers-color-scheme: dark)" srcset="https://nodejs.org/static/logos/nodejsLight.svg"> <img src="https://nodejs.org/static/logos/nodejsDark.svg" width="2
@node-core/doc-kit is a tool to generate API documentation of Node.js. See this issue for more information.
Local invocation:
$ npx doc-kit --help
$ node bin/cli.mjs --help
Usage: @node-core/doc-kit [options] [command]
CLI tool to generate the Node.js API documentation
Options:
-h, --help display help for command
Commands:
generate [options] Generate API docs
interactive Launch guided CLI wizard
help [command] display help for command
generateUsage: @node-core/doc-kit generate [options]
Generate API docs
Options:
-i, --input <patterns...> Input file patterns (glob)
--ignore [patterns...] Ignore patterns (comma-separated)
-o, --output <dir> Output directory
-p, --threads <number> (default: "12")
-v, --version <semver> Target Node.js version (default: "v22.14.0")
-c, --changelog <url> Changelog URL or path (default: "https://raw.githubusercontent.com/nodejs/node/HEAD/CHANGELOG.md")
--git-ref <url> Git ref/commit URL (default: "https://github.com/nodejs/node/tree/HEAD")
-t, --target [modes...] Target generator modes (choices: "json-simple", "legacy-html", "legacy-html-all", "man-page", "legacy-json", "legacy-json-all", "addon-verify", "api-links", "orama-db", "llms-txt")
-h, --help display help for command
interactiveUsage: @node-core/doc-kit interactive [options]
Launch guided CLI wizard
Options:
-h, --help display help for command
To generate a 1:1 match with the legacy tooling, use the legacy-html, legacy-json, legacy-html-all, and legacy-json-all generators.
npx doc-kit generate \
-t legacy-html \
-t legacy-json \
-i "path/to/node/doc/api/*.md" \
-o out \
--index path/to/node/doc/api/index.md
To generate our redesigned documentation pages, use the web and orama-db (for search) generators.
npx doc-kit generate \
-t web \
-t orama-db \
-i "path/to/node/doc/api/*.md" \
-o out \
--index path/to/node/doc/api/index.md
[!TIP] In order to use the search functionality, you must serve the output directory.
npx serve out
FAQs
<source media="(prefers-color-scheme: dark)" srcset="https://nodejs.org/static/logos/nodejsLight.svg"> <img src="https://nodejs.org/static/logos/nodejsDark.svg" width="2
We found that @node-core/doc-kit demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.