Counts lines of code of HTML, CSS & JS - Outputs them in a Jenkins compatible format
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.eslintrc.json feat(release): First release Mar 15, 2016
.gitignore feat(release): First release Mar 15, 2016
.jscsrc feat(release): First release Mar 15, 2016
.travis.yml
LICENSE Initial commit Mar 15, 2016
README.md docs(readme): add Greenkeeper badge Jan 10, 2018
cli.js feat(release): First release Mar 15, 2016
index.js
package.json Merge pull request #158 from asciidisco/greenkeeper/husky-0.15.0-rc.2 Feb 19, 2018
test.js feat(release): First release Mar 15, 2016

README.md

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