git-user-info
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

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.

Package Sidebar

Install

npm i git-user-info

Weekly Downloads

7,211

Version

2.0.3

License

MIT

Unpacked Size

3.83 kB

Total Files

5

Last publish

Collaborators

  • rexxars