Skip to content

Counts lines of code of HTML, CSS & JS - Outputs them in a Jenkins compatible format

License

Notifications You must be signed in to change notification settings

asciidisco/sloccount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sloccount

Greenkeeper badge Counts lines of code of HTML, CSS & JS - Outputs them in a Jenkins compatible format

semantic-release js-standard-style Commitizen friendly version downloads MIT License FOSSA Status

Build Status codecov coverage Dependency Status devDependency Status

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.cm

Contribute

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.

License

FOSSA Status

About

Counts lines of code of HTML, CSS & JS - Outputs them in a Jenkins compatible format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •