0.0.1 • Published 10 years ago

hambruger v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

brugerking

hambruger

Converts JSDOC3 into Markdown to be thrown up on your Github README/Wiki or Flatdoc.

Usage

$ npm install -g hambruger 
$ cat src/hambruger.js | hambruger >> API.md

Include only explicitly @public methods.

$ cat src/hambruger.js | hambruger --only-public >> API.md

Exclude explicitly @private methods.

$ cat src/hambruger.js | hambruger --exclude-private >> API.md

Supported Tags

/**
 * Description of object. Requires object to directly follow comment block.
 * @constructor
 * @param {object} options Description of options
 * @param {string} options.prop Description of property
 * @private
 * @public
 */
function Example( options ) {
}

Examples

Will provide more extensive ones as more projects use this and the behaviour is fleshed out. For now, here you go: examples.