
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
grunt-git-authors
Advanced tools
A grunt plugin for generating a list of authors from the git history.
Support this project by donating on Gratipay.
This project supports both a Node API and a Grunt API.
v1.1.0+ is compatible with Grunt 0.4. If you're using Grunt 0.3, use v1.0.0.
Generates a list of authors in the form Name <email> in order of first
contribution.
This task writes its output to the console, not to a file.
You can optionally run this task against a subdirectory:
grunt authors:path/to/directory
Define a list of authors that contributed prior to the first commit in the repo. This is useful if you've moved from another version control system.
grunt.initConfig({
authors: {
prior: [
"Jane Smith <jane.smith@example.com>",
"John Doe <john.doe@example.com>"
]
}
});
This module can also be used directly via require( "grunt-git-authors" ).
The module exports a single function which accepts an options hash and a callback.
dir (String): Which directory to inspect for authors (defaults to ".").priorAuthors (Array): An array of authors that contributed prior to the first commit in the repo.This task respects mailmap, so if you have messy author info in your commits,
you can correct the data in your mailmap and this task with output the cleaned
up information. For more information, about using a mailmap, see the docs for
git-shortlog or read Shane da Silva's blog post about
Git Shortlog and Mailmap.
Copyright 2014 Scott González. Released under the terms of the MIT license.
Support this project by donating on Gratipay.
FAQs
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.