
Security News
Socket Integrates With Bun 1.3’s Security Scanner API
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
broccoli-docco
Advanced tools
A [broccoli](https://github.com/broccolijs/broccoli) plugin that generates HTML code documentation using the popular [docco](http://jashkenas.github.io/docco/) library.
#broccoli-docco Broccoli plugin for generating code documentation using Docco styled documentation blocks
NOTE: this is still a WIP, please not for use just yet :)
At the root of your development project type:
npm install broccoli-docco --save
This plugin leverages the popular docco documentation generator. This plugin can be used in your brocfile.js
to identify tree's which should be documented. The primary method that will be exposed on this class is the document
function:
function document(inputTree, options) { }
Usage in the Brocfile would look something like:
var docco = require('broccoli-docco').DoccoBroc;
docco.document('src');
In the example above this would look for all supported document types in the src
directory and create documentation in the docs
directory (the default location).
broccoli-docco's document method proxies the options
hash to Docco. So you might have something like:
var docco = require('broccoli-docco').DoccoBroc;
var doccoOptions = {
layout: 'parallel',
output: 'docs',
css: 'myCustomCSS.css'
};
docco.document('src', doccoOptions);
For more information about options parameteres refer to the Docco documentation.
It would be odd to write code that documents code and then not document it ... so if you want to see the resultant documented code you can find it here:
Happy trails,
Ken Snyder
FAQs
A broccoli plugin that generates HTML code documentation using the popular docco library.
The npm package broccoli-docco receives a total of 23 weekly downloads. As such, broccoli-docco popularity was classified as not popular.
We found that broccoli-docco 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 now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.
Security News
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.