Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sergeylukin/codescore
https://github.com/sergeylukin/codescore
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sergeylukin/codescore
- Owner: sergeylukin
- Created: 2020-08-17T21:45:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-21T22:32:40.000Z (almost 3 years ago)
- Last Synced: 2024-11-17T04:30:59.380Z (about 2 months ago)
- Language: JavaScript
- Size: 82 KB
- Stars: 0
- Watchers: 2
- 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=...
```![](https://github.com/sergeylukin/codescore/raw/master/usage.gif)
### 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...