git-user-local

1.0.0 • Public • Published

git-user-local

Build Status codecov

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

Dependents (4)

Package Sidebar

Install

npm i git-user-local

Weekly Downloads

71

Version

1.0.0

License

MIT

Unpacked Size

4.46 kB

Total Files

5

Last publish

Collaborators

  • lasalefamine