{"name":"is-git-url","description":"Regex to validate that a URL is a git url.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/is-git-url","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/is-git-url.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-git-url/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/is-git-url/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha"},"keywords":["git","github","regex","regexp","url"],"gitHead":"d7dde4323b76de90c1f633e1f5f7ef2eb7d0b538","_id":"is-git-url@0.2.0","_shasum":"b9ce0fb044821c88880213d602db03bdb255da1b","_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":"b9ce0fb044821c88880213d602db03bdb255da1b","tarball":"http://registry-npm.ywwl.com/is-git-url/download/is-git-url-0.2.0.tgz","integrity":"sha512-DPexOXaNkZQrcCtL6finVnKzT8sZoEgyy8DzEOTL+j7fm1K58K3FIQNit5BpTQNI1jqY3yslFFltOIUXbZaE3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG1yCXuqjdcdLwanZ1bDQdz26wnYEGusnuKrmUUji/y8AiEA8HiDvfk7cx4KlDCyKWsWFSjtdlGo/kmJVASifIaBkJM="}],"size":1775,"noattachment":false,"key":"/is-git-url/-/is-git-url-0.2.0.tgz"},"directories":{},"readme":"# is-git-url [![NPM version](https://img.shields.io/npm/v/is-git-url.svg?style=flat)](https://www.npmjs.com/package/is-git-url) [![NPM monthly downloads](https://img.shields.io/npm/dm/is-git-url.svg?style=flat)](https://npmjs.org/package/is-git-url) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/is-git-url.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/is-git-url)\n\n> Regex to validate that a URL is a git url.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save is-git-url\n```\n\nInstall with [yarn](https://yarnpkg.com):\n\n```sh\n$ yarn add is-git-url\n```\n\n## Usage\n\n```js\nvar isGitUrl = require('is-git-url');\n\nisGitUrl('git://github.com/jonschlinkert/is-git-url.git');\n//=> true\n\nisGitUrl('https://github.com/jonschlinkert/');\n//=> false\n```\n\nEdit on [debuggex](https://www.debuggex.com/r/WeYxcD7Ghp5ekrPR/0#cheatsheet)\n\n![image](https://cloud.githubusercontent.com/assets/383994/2627089/bd37da5c-bdf9-11e3-9c26-d2b02f46bc24.png)\n\nSee [http://git-scm.com/book/ch4-1.html](http://git-scm.com/book/ch4-1.html) for more info.\n\n## About\n\n### Related 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-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-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* [github-contributors](https://www.npmjs.com/package/github-contributors): Generate a markdown or JSON list of contributors for a project using the GitHub API. | [homepage](https://github.com/jonschlinkert/github-contributors \"Generate a markdown or JSON list of contributors for a project using the GitHub API.\")\n* [parse-github-url](https://www.npmjs.com/package/parse-github-url): Parse a github URL into an object. | [homepage](https://github.com/jonschlinkert/parse-github-url \"Parse a github URL into an object.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 17 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 2 | [tunnckoCore](https://github.com/tunnckoCore) |\n| 1 | [dcadenas](https://github.com/dcadenas) |\n| 1 | [quaertym](https://github.com/quaertym) |\n| 1 | [LoicMahieu](https://github.com/LoicMahieu) |\n\n### Building docs\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### Running tests\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### 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](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.5.0, on April 17, 2017._","publish_time":1424993602654,"_cnpm_publish_time":1424993602654,"dist-tags":{"latest":"1.0.0"}}