1.0.2 • Published 8 years ago

docs-gen v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

docs-gen

node script that shows all the comments inside a source file as a list of cards. Generates a *.html file.

Let's say you have a index.js file and you want to extract all the comments inside them and show them in a visually appealing way. You can use this module like that:

node DIRECTORY/TO/MODULE/index.js sourceFile fileName encoding

Where the parameters mean the following:

sourceFile = The path to the file you want to extract comments from.

fileName = The name the html file that's being generated should have.

encoding = If your file has a fancy url encoding, pass it here.

Dependencies:

extract-comments

mkdirp

License:

MIT