Miss any of our Open RFC calls?Watch the recordings here! »

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

Install

npm i git-user-local

DownloadsWeekly Downloads

136

Version

1.0.0

License

MIT

Unpacked Size

4.46 kB

Total Files

5

Last publish

Collaborators

  • avatar