On this page

The man-page generator creates a Unix man page version of the Node.js CLI documentation in mdoc format.

The man-page generator accepts the following configuration options:

NameTypeDefaultDescription
outputstring-The directory where the man page file will be written
fileNamestring'node.1'Name of the output file
cliOptionsHeaderSlugstring'options'Slug for the CLI options header section
envVarsHeaderSlugstring'environment-variables-1'Slug for the environment variables header section
templatePathstring'template.1'Path to the man page template file