Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Quick and dirty single page docs from JSDoc doclets.
Warning: Very simplistic, only currently handles classes, may not work for you!
Once installed a dirtydocs
executable should be found in node_modules/.bin
which accepts JSDoc doclet JSON on stdin
and the path to a nunjucks template file as it's first argument. The JSON is transformed to make it more suitable for use within the template before the template is rendered and the results output to stdout
.
npm install dirtydocs
NOTE: JSDoc will be installed as a peer dependency.
Assuming you have installed locally, to run the example:
node_modules/.bin/jsdoc --explain node_modules/dirtydocs/examples/code.js | node_modules/.bin/dirtydocs node_modules/dirtydocs/examples/README.md
To run against your own source using the example template:
node_modules/.bin/jsdoc --explain path/to/source.js | node_modules/.bin/dirtydocs node_modules/dirtydocs/examples/README.md
When designing your own template you can view the object that will be passed to the template as JSON by omitting the template argument:
node_modules/.bin/jsdoc --explain path/to/source.js | node_modules/.bin/dirtydocs
MIT (c) Matt Walker
FAQs
Quick and dirty single page docs from JSDoc doclets
The npm package dirtydocs receives a total of 1 weekly downloads. As such, dirtydocs popularity was classified as not popular.
We found that dirtydocs 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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.