
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.
docusaurus-plugin-doccov
Advanced tools
Docusaurus plugin for DocCov - Generate API docs from OpenPkg specs
Docusaurus plugin for generating API documentation from OpenPkg specs.
npm install docusaurus-plugin-doccov
Add the plugin to your docusaurus.config.js:
module.exports = {
plugins: [
[
'docusaurus-plugin-doccov',
{
specPath: './openpkg.json',
routeBasePath: '/api',
showCoverage: true,
coverageThreshold: 80,
},
],
],
};
| Option | Type | Default | Description |
|---|---|---|---|
specPath | string | './openpkg.json' | Path to the OpenPkg spec file |
routeBasePath | string | '/api' | Base URL path for API docs |
showCoverage | boolean | true | Show coverage badges |
coverageThreshold | number | 80 | Minimum coverage for green badge |
The plugin generates:
/{routeBasePath} - Lists all exports with coverage stats/{routeBasePath}/{exportId} - Detailed docs for each exportThe plugin provides two theme components that you can swizzle:
DocCovIndexPage - The API index pageDocCovExportPage - Individual export pagesGenerate your OpenPkg spec with DocCov CLI:
doccov generate --output openpkg.json
Add the plugin to your Docusaurus config
Build your docs:
npm run build
MIT
FAQs
Docusaurus plugin for DocCov - Generate API docs from OpenPkg specs
The npm package docusaurus-plugin-doccov receives a total of 0 weekly downloads. As such, docusaurus-plugin-doccov popularity was classified as not popular.
We found that docusaurus-plugin-doccov 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.