codescore

0.1.8 • Public • Published

CodeScore

Codebase statistics, metrics, KPIs

Description :

CodeScore is a CLI that can be used to easily collect & export various

Supported commands :

  • count - returns number of lines of code

Usage :

$ codescore count --path=./ --group='<group name> <dir regex pattern> <files Regex>' --group=...

Simple Example

Will print LOC for all JS files inside ./src:

$ yarn add codescore
$ ./node_modules/.bin/codescore count --path=./ --group='MySourceCode src .*js$'

Output:

[ { name: 'MySourceCode', count: 8932 } ]

To be continued with more advanced examples...

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.8
    1
    • latest

Version History

Package Sidebar

Install

npm i codescore

Weekly Downloads

9

Version

0.1.8

License

MIT

Unpacked Size

88 kB

Total Files

4

Last publish

Collaborators

  • sergeylukin