
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
jsdoc-stock
Advanced tools
A template for JSDoc 4. Forked from github.com/nijikokun/minami.
$ npm install --save-dev jsdoc-stock
Clone repository to your designated jsdoc template directory, then:
$ jsdoc entry-file.js -t path/to/jsdoc-stock
In your projects package.json file add a generate script:
"scripts": {
"generate-docs": "node_modules/.bin/jsdoc --configure .jsdoc.json --verbose"
}
In your .jsdoc.json file, add a template option.
"opts": {
"template": "node_modules/jsdoc-stock"
}
{
"tags": {
"allowUnknownTags": true,
"dictionaries": ["jsdoc"]
},
"source": {
"include": ["lib", "package.json", "README.md"],
"includePattern": ".js$",
"excludePattern": "(node_modules/|docs)"
},
"plugins": [
"plugins/markdown"
],
"templates": {
"cleverLinks": false,
"monospaceLinks": true,
"useLongnameInNav": false,
"showInheritedInNav": true,
"logo": "path/to/logo",
"default": {
"staticFiles": {
"include": ["docs-src/"]
}
}
},
"opts": {
"destination": "./docs/",
"encoding": "utf8",
"private": true,
"recurse": true,
"template": "./node_modules/jsdoc-stock"
}
}
| option | type | description | default |
|---|---|---|---|
| logo | String | path to logo in staticFiles | none |
| nav.titles | Array[String] | which type titles to include | all |
| nav.sections | Array[String] | which sections to include | all |
| nav.icons | Boolean | to render icons for type next to item | true |
| footer | Boolean,String | what to render in footer, false for nothing | default footer |
Specifying a number for useLongnameInNav it will be the max number of path elements to show in nav (starting from Class).
Licensed under the Apache2 license.
FAQs
A JSDoc Theme
We found that jsdoc-stock 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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.