https://github.com/sergeylukin/codescore
https://github.com/sergeylukin/codescore
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sergeylukin/codescore
- Owner: sergeylukin
- Created: 2020-08-17T21:45:00.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-21T22:32:40.000Z (over 3 years ago)
- Last Synced: 2025-03-08T08:48:02.779Z (4 months ago)
- Language: JavaScript
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 :
```javascript
$ codescore count --path=./ --group=' ' --group=...
```
### Simple Example
Will print LOC for all JS files inside `./src`:
```javascript
$ 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...