git-user-local
v1.0.0
Published
Get Git user info from local git config
Downloads
766
Maintainers
Readme
git-user-local
Get Git user info from local git config
Install
$ yarn add git-user-local
Usage
const gitUserLocal = require('git-user-local');
gitUserLocal();
//=> {user: {email: '[email protected]', name: 'Phi'}}
API
gitUserLocal(path)
path
Type: string
You can pass a specific path for searching there instead of the homedir.
License
MIT © LasaleFamine