Naively Programmable Module

    codescore

    0.1.7 • 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...

    Keywords

    none

    Install

    npm i codescore

    DownloadsWeekly Downloads

    8

    Version

    0.1.7

    License

    MIT

    Unpacked Size

    96.1 kB

    Total Files

    5

    Last publish

    Collaborators

    • sergeylukin