{"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"keywords":["git","github","is","regex","regexp","test","url"],"dist-tags":{"latest":"1.0.0"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"description":"Regex to validate that a URL is a git url.","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._","repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-git-url.git"},"users":{"sixertoy":true,"rocket0191":true,"hualei":true},"bugs":{"url":"https://github.com/jonschlinkert/is-git-url/issues"},"license":"MIT","versions":{"0.1.0":{"name":"is-git-url","description":"Regex to validate that a URL is a git url.","version":"0.1.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"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/is-git-url/blob/master/LICENSE-MIT"}],"keywords":["docs","documentation","generate","generator","markdown","templates","verb"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha -R test"},"devDependencies":{"verb":"~0.2.1","chai":"~1.9.1"},"_id":"is-git-url@0.1.0","dist":{"shasum":"11f2aa9c7081c3ab48bf185d5bf4e47de1f381e0","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/is-git-url/-/is-git-url-0.1.0.tgz","integrity":"sha512-EZ0LFt3iOnC0ipj3p1UUfSmjDXLVygtagDogBeT/QFYQlIgtfkHZXYZk8VWEgG5kTfWgAYeYCSGOuCvTf6g6+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHrbFDeiSuEVYDMfi3qRl+wBBhjapjdaZmg6oyzr4maAIgW7yb5QlA/5TqsdgCcmpidYwL8E/bR93xsTYaas6wC+s="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"directories":{}},"0.2.0":{"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":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"b9ce0fb044821c88880213d602db03bdb255da1b","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/is-git-url/-/is-git-url-0.2.0.tgz","integrity":"sha512-DPexOXaNkZQrcCtL6finVnKzT8sZoEgyy8DzEOTL+j7fm1K58K3FIQNit5BpTQNI1jqY3yslFFltOIUXbZaE3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG1yCXuqjdcdLwanZ1bDQdz26wnYEGusnuKrmUUji/y8AiEA8HiDvfk7cx4KlDCyKWsWFSjtdlGo/kmJVASifIaBkJM="}]},"directories":{}},"0.2.1":{"name":"is-git-url","description":"Regex to validate that a URL is a git url.","version":"0.2.1","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":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha"},"keywords":["git","github","regex","regexp","test","url"],"gitHead":"ed6af8d7f62ad9b481431f0c8a1c76ad6755d6e8","_id":"is-git-url@0.2.1","_shasum":"bbb275638ae3f395440661ad5d4a8bc31ea553dc","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"bbb275638ae3f395440661ad5d4a8bc31ea553dc","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/is-git-url/-/is-git-url-0.2.1.tgz","integrity":"sha512-R4B6SmMgGVjU4a0Mpm/gZccZUDTeYv6jmXBGkRpnppjjVYIunusPmajWz1BeB1luCnIkdYL64HfwoHMYtJ3aNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGXShP+otJ0IYq2TmSZlZ6+2tHUVqlnwsNDGmsW9M1+lAiBSRa3XXK196cwH/m4H9nVGc4b28BspkTD6g7RKD1t/RQ=="}]},"directories":{}},"0.2.2":{"name":"is-git-url","description":"Regex to validate that a URL is a git url.","version":"0.2.2","homepage":"https://github.com/jonschlinkert/is-git-url","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-git-url.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-git-url/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"^2.2.5"},"keywords":["git","github","regex","regexp","test","url"],"verb":{"related":{"list":["git-repo-name","git-username","github-contributors","git-branch","parse-github-url"]}},"gitHead":"25251fc0eedfbeb0e8c220178b8c7669df6b0a1a","_id":"is-git-url@0.2.2","_shasum":"cf57b2862f72ff8b9ec09cfdb86d584543b93af6","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"cf57b2862f72ff8b9ec09cfdb86d584543b93af6","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/is-git-url/-/is-git-url-0.2.2.tgz","integrity":"sha512-0JK8LquL/0dLI4ucMkE9duzpW9P4ozraOJc0AMIMLiSnDbyHv/VC+nWbEj32RzilSL+cCFq9DD59+qm2D2hdDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDfiro0i0IDRMjwwC80zHBTQOZHFyMVQ+8JYJN3lqdxZAiBfXorH1XDYQpEf7LYz0HECA0a6qjboFQxyptsvKKMmxg=="}]},"directories":{}},"0.2.3":{"name":"is-git-url","description":"Regex to validate that a URL is a git url.","version":"0.2.3","homepage":"https://github.com/jonschlinkert/is-git-url","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-git-url.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-git-url/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"^2.2.5"},"keywords":["git","github","regex","regexp","test","url"],"verb":{"related":{"list":["git-repo-name","git-username","github-contributors","git-branch","parse-github-url"]}},"gitHead":"ff9467250bfe4eb4c6bfd2bccea1d2bd89e87222","_id":"is-git-url@0.2.3","_shasum":"445200d6fbd6da028fb5e01440d9afc93f3ccb64","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"445200d6fbd6da028fb5e01440d9afc93f3ccb64","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/is-git-url/-/is-git-url-0.2.3.tgz","integrity":"sha512-UEWwpSpBBqQB6lYMJUHHCxJMPBKV8fxcmdbA5GNDq7SApnMyyRVNF9QeBtCs3+56elwkix5QEGsN9O669XnEYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPZXiK7Ns/+VLL//qpfn95r4aX6tV4BOTdyCHCXFCPBwIgKLFHoLNpx77tR3EFvITtI94a/Vj76qQxf4VuPri0jiY="}]},"directories":{}},"1.0.0":{"name":"is-git-url","description":"Regex to validate that a URL is a git url.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/is-git-url","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Charlike Mike Reagent","url":"https://i.am.charlike.online"},{"name":"Daniel Cadenas","email":"dcadenas@gmail.com","url":"http://craftedcode.com"},{"name":"Emre Unal","url":"https://github.com/quaertym"},{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com","url":"http://twitter.com/jonschlinkert"},{"name":"Loïc Mahieu","url":"http://iGLOO.be"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-git-url.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-git-url/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^0.1.12","mocha":"^3.2.0"},"keywords":["git","github","is","regex","regexp","test","url"],"verb":{"related":{"list":["git-branch","git-repo-name","git-username","github-contributors","parse-github-url"]},"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"cf895966b4b6e2d323a281570927fe029735d1ee","_id":"is-git-url@1.0.0","_shasum":"53f684cd143285b52c3244b4e6f28253527af66b","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.7.3","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"53f684cd143285b52c3244b4e6f28253527af66b","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/is-git-url/-/is-git-url-1.0.0.tgz","integrity":"sha512-UCFta9F9rWFSavp9H3zHEHrARUfZbdJvmHKeEpds4BK3v7W2LdXoNypMtXXi5w5YBDEBCTYmbI+vsSwI8LYJaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID/3lNdsCzrwjfd/StHgCwkoXP5NcVjjWo9y47Ug//HYAiAjAepYFKdMdKI+cmJljM573Ttfxrx5vNydjkPJ/PWOhg=="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/is-git-url-1.0.0.tgz_1492481995627_0.6110640224069357"},"directories":{}}},"name":"is-git-url","time":{"modified":"2022-06-19T02:42:07.064Z","created":"2014-04-07T02:23:44.061Z","0.1.0":"2014-04-07T02:23:44.061Z","0.2.0":"2015-02-26T23:33:22.654Z","0.2.1":"2015-06-28T17:59:59.153Z","0.2.2":"2015-07-21T00:41:42.114Z","0.2.3":"2015-07-21T15:31:28.114Z","1.0.0":"2017-04-18T02:19:56.318Z"},"readmeFilename":"README.md","contributors":[{"name":"Charlike Mike Reagent","url":"https://i.am.charlike.online"},{"name":"Daniel Cadenas","email":"dcadenas@gmail.com","url":"http://craftedcode.com"},{"name":"Emre Unal","url":"https://github.com/quaertym"},{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com","url":"http://twitter.com/jonschlinkert"},{"name":"Loïc Mahieu","url":"http://iGLOO.be"}],"homepage":"https://github.com/jonschlinkert/is-git-url"}