sloccount
Counts lines of code of HTML, CSS & JS - Outputs them in a Jenkins compatible format
Installation
This package is distributed via npm:
npm install -g sloccount
Usage
> sloccount --help --------------------------- Counts lines of code of HTML, CSS & JS - Outputs them in a Jenkins compatible format Usage $ sloccount <src> <reportPath> Options -c, --comments Exclude comments -v, --verbose Verbose output Examples $ sloccount *.js report.sc --comments
output
Creating filelist for /Github/asciidisco/sloccount
Categorizing files.
Computing results.
57 js /Github/asciidisco/sloccount /Github/asciidisco/sloccount/index.js
14 jscm /Github/asciidisco/sloccount /Github/asciidisco/sloccount/index.js.cmContribute
All PRs are welcome. If you´re sending a PR, please sqash your changes, make sure you covered your code with (passing) unit tests & you should be good to go. Always be inclusive, friendly & make sure you act up to the Open Code of Conduct, actions will be taken if you´re not.