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