Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vijaysutrave/commentify

Add comments to your code, with one npm command!
https://github.com/vijaysutrave/commentify

Last synced: 1 day ago
JSON representation

Add comments to your code, with one npm command!

Awesome Lists containing this project

README

        

#### commentify

![Easily documentation comments to your code](https://www.dropbox.com/s/7zg2rjmyrog6nq6/comment.jpg?raw=1)

Add documentation comments to your code, with one npm command!

Everybody likes to read well documented code.
It's easier for a newbie to understand what's going on.
Gives your peer an understanding of what you're really trying to do.

This package, adds comments to all functions like a pattern specified in [jsDoc](http://usejsdoc.org/about-getting-started.html#adding-documentation-comments-to-your-code).

Just add in your custom function description to the comment pattern, and you're awesome!

#### Install
`npm install -g commentify`

#### Usage
Run `commentify` in any directory.

The prompt will check if you want to comment a file, or all files in a directory.
If file, do not enter the `.js` extension at the end of file. Also, give in a relative path from the current directory.

#### License
MIT © [vijaysutrave](https://github.com/vijaysutrave)