
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
modern-jsdoc-template
Advanced tools
Modern JSDoc default template with a Dark/Light theme style that closely resembles the Dark/Light theme found on GitHub
Modern JSDoc default template with a Dark/Light theme style that closely resembles the Dark/Light theme found on GitHub
Dark/Light theme
This template enhances the simple and minimalistic JSDoc default template by incorporating a dark and light theme styling, similar to GitHub's dark dimmed and light theme. There are no other significant alterations.
Minimal changes to the default theme.
The JSDoc default theme has undergone minimal changes. The template only includes new styles and slight external script additions to the JSDoc default template. The main functionality and features remain unchanged. During the build process, most of the templates are copied from JSDoc without any modifications, ensuring alignment with the JSDoc default template in terms of features and functionality.
prettify.js
JSDoc default template | Modern JSDoc template | |
---|---|---|
Publish Script | publish.js | publish.js (no changes, same as in JSDoc default template) |
Code syntax highlighter script | prettify.js (self-hosted) | highlight.js (CDN) |
Code line numbers script | linenumber.js (self-hosted) | highlightjs-line-numbers.js (CDN) |
General CSS styling | JSDoc default | Dark/Light theme (similar to GitHub) |
Code syntax highlighter styles | JSDoc prettify.js theme | Dark/Light theme (similar to GitHub) |
Layout Template | JSDoc default layout | JSDoc default layout with some modifications to add scripts and styles |
All others templates | JSDoc default | Same as in JSDoc default, no changes! |
Fonts | OpenSans (external) | system fonts |
Table of contents | no | yes |
jsdoc
npm install --save-dev jsdoc
modern-jsdoc-template
npm install --save-dev modern-jsdoc-template
jsdoc.json
{
"plugins": ["plugins/markdown"],
"source": {
"include": ["source???/"]
},
"templates": {
"cleverLinks": true,
"default": {
"includeDate": false
}
},
"opts": {
"template": "node_modules/modern-jsdoc-template/default",
"readme": "./README.md",
"destination": "./docs/",
"recurse": true,
"verbose": true
},
"markdown": {
"idInHeadings": true
}
}
npx jsdoc -c jsdoc.json
npm install
to install dependencies.npm start
to start the development server with watcher.src/*
files and test the result in browser on http://localhost:8082
npm test
to run tests.FAQs
Modern JSDoc default template with a Dark/Light theme style that closely resembles the Dark/Light theme found on GitHub
The npm package modern-jsdoc-template receives a total of 18 weekly downloads. As such, modern-jsdoc-template popularity was classified as not popular.
We found that modern-jsdoc-template 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.