$ npm i -g @markusylisiurunen/git-stats
or with npx
$ npx @markusylisiurunen/git-stats author
Usage: git-stats [options] <command> [command...]
Commands:
author print statistics by author
files print statistics by file
Options:
-h, --help output usage information
-i, --include glob of files to include
-e, --exclude glob of files to exclude
Examples:
$ git-stats author
$ git-stats -i "**/*.js" -i "*.py" -e "**/config.js" author files
MIT