0.0.2 • Published 9 years ago
njs-stats v0.0.2
njs-stats
Gather NodeJS project statistics over time using git history.
Stats collected (per file) include:
- LOC data (comments, source, empty, etc)
- Count of requires
- Count of jasmine expects
- Count of expects
To-do:
- Count of exported functions/objects
- Ignore expects in xdescribe/xit's
##Using njs-stats
$ njs-stats --help###With gitlog history
You can pass the --gitlog (-g) option which will walk backwards through your
git history up to 12 months and collect the same stats from the last commit made each month.
##Developing Mostly taken from here. ###Install dependencies
$ npm install###Install module globally
$ npm install -g###Link module
$ npm link