1.0.0 • Published 4 years ago
git-user-local v1.0.0
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: 'awesome@unicorn.com', name: 'Phi'}}
API
gitUserLocal(path)
path
Type: string
You can pass a specific path for searching there instead of the homedir.
License
MIT © LasaleFamine