Get the user info for the current user from git config, at the project or global scope
MIT License
Get the user info for the current user from git config, at the project or global scope
$ npm install --save git-user-info
var {getGitUserInfo} = require('git-user-info')
// Default path
console.log(getGitUserInfo())
// Specific path
console.log(getGitUserInfo({path: '/path/to/.gitconfig'}))
MIT-licensed. See LICENSE.