git-committers
Get a committer list from a git repository with some sorting and formatting options.
Looking for a grunt task? grunt-git-committers
$ npm install git-committers
Example
var gitCommitters = ; // logs output in console; // pass a callback; // pass options;
Options
sort
Type: String
Default value: chronological
The sort type. Could be one of chronological
, alphabetical
or commits
.
Type: Boolean
Default value: false
Set to true
to include the emails beside the committers.
nomerges
Type: Boolean
Default value: false
Set to true
to exclude merge commits. It only works when sorting by commits
.