git-user-info

Get the user info for the current user from git config, at the project or global scope

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
git-user-info
112.0.3a year ago8 years agoMinified + gzip package size for git-user-info in KB

Readme

git-user-info
npm version
Get the user info for the current user from git config, at the project or global scope
Installation
$ npm install --save git-user-info
Usage
var {getGitUserInfo} = require('git-user-info')

// Default path
console.log(getGitUserInfo())

// Specific path
console.log(getGitUserInfo({path: '/path/to/.gitconfig'}))
Notes
License
MIT-licensed. See LICENSE.