git-owner
v1.3.1
Published
Get owners of files in git.
Downloads
960
Readme
git-owner
Print "ownership" information for a file in git.
Install
$ npm install -g git-owner
Usage
Typically you'll probably want to use it on the command line:
# Who has contributed most to the Ember.js README?
$ git owner README.md
35% [email protected]
23% [email protected]
11% [email protected]
9% [email protected]
5% [email protected]
5% [email protected]
4% [email protected]
2% [email protected]
2% [email protected]
2% [email protected]
1% [email protected]
1% [email protected]
1% [email protected]
1% [email protected]
1% [email protected]
1% [email protected]
1% [email protected]
1% [email protected]
200 lines.
You can also use it as a library:
var gitBlameStats = require('../lib').gitBlameStats;
gitBlameStats(process.argv[2], function(err, stats) {
console.log(stats);
});
Contributing
Contributions are welcome. Just fork, add your feature/bugfix on a branch with tests, and submit a pull request.