{"name":"git-repo-name","description":"Get the repository name from the git remote origin URL.","version":"0.6.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","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha"},"dependencies":{"cwd":"^0.9.1","file-name":"^0.1.0","lazy-cache":"^1.0.4","remote-origin-url":"^0.5.1"},"devDependencies":{"gulp-format-md":"^0.1.9","mocha":"^2.4.5"},"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":"7c0bed9184a61ebe0fa240d24be7139b21743109","_id":"git-repo-name@0.6.0","_shasum":"af09884656aa537ec625c7087008175cd61228ff","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"af09884656aa537ec625c7087008175cd61228ff","tarball":"http://registry-npm.ywwl.com/git-repo-name/download/git-repo-name-0.6.0.tgz","integrity":"sha512-DF4XxB6H+Te79JA08/QF/IjIv+j+0gF990WlgAX3SXXU2irfqvBc/xxlAIh6eJWYaKz45MrrGVBFS0Qc4bBz5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7+XvOI7XoDandaYmpmfwyMKRSNF/ixt1i2PM3nGgj+wIhAIchStGkCascX9LzAGvGvvYdij/OG2bPijURucT+884j"}],"size":2629,"noattachment":false,"key":"/git-repo-name/-/git-repo-name-0.6.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/git-repo-name-0.6.0.tgz_1462276439376_0.9445271959993988"},"directories":{},"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":1462276441518,"_cnpm_publish_time":1462276441518,"dist-tags":{"latest":"1.0.1"}}