{"name":"git-repo-name","description":"Get the repository name from the git remote origin URL.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/git-repo-name","author":{"name":"Jon Schlinkert","url":"http://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/git-repo-name.git"},"bugs":{"url":"https://github.com/jonschlinkert/git-repo-name/issues"},"license":"MIT","main":"index.js","engines":{"node":">=8"},"scripts":{"test":"mocha"},"dependencies":{"file-name":"^0.1.0","remote-origin-url":"^2.0.0"},"devDependencies":{"gulp-format-md":"^2.0.0","mocha":"^5.2.0"},"keywords":["gh","git","git repo","repo","repo name","repository"],"verb":{"related":{"list":["git-user-email","git-username"]},"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"reflinks":["verb"]},"gitHead":"299b15eb38f4699a34df6b5538da0f72a2ee9a74","_id":"git-repo-name@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"integrity":"sha512-YfqRS9GhCP6Xrd4PZhpf7AYx7JP5V3O/yWvLpDrvbcFJYb7pFdi7ogjw4eUFzBNajHJexOVcIdfox2jTSuWXdg==","shasum":"cc621cf2f0605a3ea94e29f523cd466ad123a480","tarball":"http://registry-npm.ywwl.com/git-repo-name/download/git-repo-name-1.0.0.tgz","fileCount":4,"unpackedSize":6222,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9kaZCRA9TVsSAnZWagAAM48QAJn2uzlkEvFLJOh0IwnY\nXEeaEZQhdn5+NtevKqMuCU39+su08Ztcle5CF72tJWxW9wgWq6CSmVpNz8Nx\nNbD95bM2B9zNl8SX77TOqngi8GgA47JP9VOM9c5SmwPSu+H7lIqoH+RuFpaa\nSeqeQ7PBXkZqtvpbOKP8t2lGZ1ScDvy5I9pyzXubz+fSrjxCgxXgK6sa3ieL\nWbHKJY7npJmCv/7GLX/C5U0DgikxkrmLSBKaKBg72HFNBXWpUQ+acuTNKjxb\nbs859Gahzq+Wtl3DemdrpAVzvqykxb2IQ9dIdx9Zm0db1UK1/GVLkd0Ngt/S\nQefr9ItpO6zg4F/CTGy9QFgL1n5sLm4krdgKghOr73WVfUVrKsYAtXgHzGQ9\nepW98n0WPiiiW3+e464GiDVw4NyXR9Gaj7QYgGv1prnEVd9O2n4LwOteg9sS\nkh+hrTlPyCZgc7diFsbsLBmpKJVObd8Lh2IWO8W7glGiP8BfDL2C5N/PjgWL\nr0s9hDa+TdgO4+32yS+flQjaZtgE+s7KM+n3pCJBDyWqFSuSeJ0hAxWxKeIj\nLDUZDVlTQUaqpXlDrhE5RjMCOgU2LlN+3O8APb8KDazUliu6mXhEoVlifrXs\nJDKBl7g17zMBdTrG+9O0BJCHQug8UJbKaV0DpZgngvTd9MQ2uCwhhxSaECnx\n9BJ9\r\n=koOV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCTHgM0Y/JOvHFUIz6uqhI4bKr0nfyoVj6cjHfwGZFlgIhAP6InezGGAQUvsNti82fOks/GceeRfgbgoD9FSBIrjbv"}],"size":2573,"noattachment":false,"key":"/git-repo-name/-/git-repo-name-1.0.0.tgz"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/git-repo-name_1.0.0_1542866584658_0.9997691066274181"},"_hasShrinkwrap":false,"readme":"# git-repo-name [![NPM version](https://img.shields.io/npm/v/git-repo-name.svg?style=flat)](https://www.npmjs.com/package/git-repo-name) [![NPM downloads](https://img.shields.io/npm/dm/git-repo-name.svg?style=flat)](https://npmjs.org/package/git-repo-name) [![Build Status](https://img.shields.io/travis/jonschlinkert/git-repo-name.svg?style=flat)](https://travis-ci.org/jonschlinkert/git-repo-name)\n\nGet the repository name from the git remote origin URL.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install git-repo-name --save\n```\n\n## Usage\n\n```js\nvar repoName = require('git-repo-name');\n```\n\nBy default `process.cwd()` is used, but you can alternatively specify a different directory as the first argument.\n\n**async**\n\n```js\nrepoName(function(err, name) {\n  //=> 'git-repo-name'\n});\n```\n\n**sync**\n\n```js\nrepoName.sync();\n//=> 'git-repo-name'\n```\n\n## cwd\n\nOptionally specify the directory to use.\n\n**async**\n\n```js\nrepoName('foo', function(err, name) {\n  //=> 'repo-foo-name'\n});\n```\n\n**sync**\n\n```js\nrepoName.sync('foo');\n//=> 'repo-foo-name'\n```\n\n## Related projects\n\nYou might also be interested in these projects:\n\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)\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)\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/git-repo-name/issues/new).\n\n## Building docs\n\nGenerate readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install verb && npm run docs\n```\n\nOr, if [verb](https://github.com/verbose/verb) is installed globally:\n\n```sh\n$ verb\n```\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\n\n## Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2016, [Jon Schlinkert](http://github.com/jonschlinkert).\nReleased under the [MIT license](https://github.com/jonschlinkert/git-repo-name/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on May 03, 2016._","publish_time":1542866584799,"_cnpm_publish_time":1542866584799,"dist-tags":{"latest":"1.0.1"}}