| ★ wanayoo — archive 1999 https://www.npmjs.com/package/git-user-name | Nouvelle recherche | Portail wanayoo |
Get a user's name from git config at the project or global scope, depending on what git uses in the current context.
Get a user's name from git config at the project or global scope, depending on what git uses in the current context.
npm i git-user-name --save
var gitUserName = require'git-user-name';console.loggitUserName;//=> jonschlinkert
.git/config into a JavaScript object. sync or async.Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Install dev dependencies.
npm i -d && npm test
Jon Schlinkert
Copyright (c) 2014-2015 Jon Schlinkert
Released under the MIT license
This file was generated by verb-cli on March 31, 2015.