{"name":"git-user-name","description":"Get a user's name from git config at the project or global scope, depending on what git uses in the current context.","version":"1.1.1","homepage":"https://github.com/jonschlinkert/git-user-name","author":{"name":"Jon Schlinkert","url":"http://github.com/https://github.com/jonschlinkert/"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/git-user-name.git"},"bugs":{"url":"https://github.com/jonschlinkert/git-user-name/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/git-user-name/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^1.1.2","git-config-path":"^0.1.0","parse-git-config":"^0.3.0"},"keywords":["git","gitconfig","github","global","name","user","username"],"devDependencies":{"mocha":"^2.1.0"},"gitHead":"4bbb5b373ec606426e2d80d75246c7de17498898","_id":"git-user-name@1.1.1","_shasum":"f340b417ab5761dacf80ff6e941bf9d89bdd5826","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"f340b417ab5761dacf80ff6e941bf9d89bdd5826","tarball":"http://registry-npm.ywwl.com/git-user-name/download/git-user-name-1.1.1.tgz","integrity":"sha512-MSgtzHAM4N6lEK0R96bvOoMluQ/QrRhnrGWK2NKH0k2aUKhDScAdNQtuTzwaxcs4JRxSbZ4tvYMYPtv6dBv7yA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDew/nNE5fESwCsVeKSyr5Ltdwlfnnj8jH6cEvQw+zPvQIhAJznN76t7/ARPBxwXsvBwnY1RyQiEIezO8VwwPY10lTt"}],"size":2103,"noattachment":false,"key":"/git-user-name/-/git-user-name-1.1.1.tgz"},"directories":{},"readme":"# git-user-name [![NPM version](https://img.shields.io/npm/v/git-user-name.svg?style=flat)](https://www.npmjs.com/package/git-user-name) [![NPM monthly downloads](https://img.shields.io/npm/dm/git-user-name.svg?style=flat)](https://npmjs.org/package/git-user-name) [![NPM total downloads](https://img.shields.io/npm/dt/git-user-name.svg?style=flat)](https://npmjs.org/package/git-user-name) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/git-user-name.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/git-user-name)\n\n> Get a user's name from git config at the project or global scope, depending on what git uses in the current context.\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save git-user-name\n```\n\n## Usage\n\n```js\nvar userName = require('git-user-name');\nconsole.log(userName());\n//=> jonschlinkert\n```\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n</details>\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [git-branch](https://www.npmjs.com/package/git-branch): Get the current branch for a local git repository. | [homepage](https://github.com/jonschlinkert/git-branch \"Get the current branch for a local git repository.\")\n* [git-config-path](https://www.npmjs.com/package/git-config-path): Resolve the path to the user's local or global .gitconfig. | [homepage](https://github.com/jonschlinkert/git-config-path \"Resolve the path to the user's local or global .gitconfig.\")\n* [git-repo-name](https://www.npmjs.com/package/git-repo-name): Get the repository name from the git remote origin URL. | [homepage](https://github.com/jonschlinkert/git-repo-name \"Get the repository name from the git remote origin URL.\")\n* [git-user-email](https://www.npmjs.com/package/git-user-email): Get the email address of the current user from git config. | [homepage](https://github.com/jonschlinkert/git-user-email \"Get the email address of the current user from git config.\")\n* [git-username](https://www.npmjs.com/package/git-username): Get the username from a git remote origin URL. | [homepage](https://github.com/jonschlinkert/git-username \"Get the username from a git remote origin URL.\")\n* [parse-git-config](https://www.npmjs.com/package/parse-git-config): Parse `.git/config` into a JavaScript object. sync or async. | [homepage](https://github.com/jonschlinkert/parse-git-config \"Parse `.git/config` into a JavaScript object. sync or async.\")\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 19 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 3 | [noyobo](https://github.com/noyobo) |\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](http://github.com/https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on October 17, 2017._","publish_time":1425501300064,"_cnpm_publish_time":1425501300064,"dist-tags":{"latest":"2.0.0"}}