{"_id":"parse-repo","_rev":"826822","name":"parse-repo","description":"Extract repository info from a git remote URI","dist-tags":{"latest":"1.0.4"},"maintainers":[{"name":"dgoguerra","email":"dgoguerra.or@gmail.com"}],"time":{"modified":"2021-09-13T09:10:52.000Z","created":"2016-03-21T18:19:15.973Z","1.0.4":"2017-11-03T17:04:06.652Z","1.0.3":"2017-10-17T16:22:58.478Z","1.0.2":"2017-10-17T16:08:17.951Z","1.0.1":"2016-03-21T18:38:06.881Z","1.0.0":"2016-03-21T18:19:15.973Z"},"users":{},"author":{"name":"Diego Guerra","email":"dgoguerra.or@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/dgoguerra/parse-repo.git"},"versions":{"1.0.4":{"name":"parse-repo","version":"1.0.4","description":"Extract repository info from a git remote URI","author":{"name":"Diego Guerra","email":"dgoguerra.or@gmail.com"},"license":"MIT","homepage":"https://github.com/dgoguerra/parse-repo","keywords":["parse","repository","repo","uri","github","bitbucket"],"repository":{"type":"git","url":"git+https://github.com/dgoguerra/parse-repo.git"},"bugs":{"url":"https://github.com/dgoguerra/parse-repo/issues"},"scripts":{"test":"tape test.js"},"devDependencies":{"tape":"^4.5.1"},"gitHead":"06d5a39e1d43de049f0f315433faa7b55f528109","_id":"parse-repo@1.0.4","_shasum":"74b91d2cb8675d11b99976a0065f6ce17fa1bcc8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.5","_npmUser":{"name":"dgoguerra","email":"dgoguerra.or@gmail.com"},"dist":{"shasum":"74b91d2cb8675d11b99976a0065f6ce17fa1bcc8","size":3442,"noattachment":false,"key":"/parse-repo/-/parse-repo-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/parse-repo/download/parse-repo-1.0.4.tgz"},"maintainers":[{"name":"dgoguerra","email":"dgoguerra.or@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-repo-1.0.4.tgz_1509728645699_0.09907069127075374"},"directories":{},"publish_time":1509728646652,"_hasShrinkwrap":false,"_cnpm_publish_time":1509728646652},"1.0.3":{"name":"parse-repo","version":"1.0.3","description":"Extract repository info from a git remote URI","author":{"name":"Diego Guerra","email":"dgoguerra.or@gmail.com"},"license":"MIT","homepage":"https://github.com/dgoguerra/parse-repo","keywords":["parse","repository","repo","uri","github","bitbucket"],"repository":{"type":"git","url":"git+https://github.com/dgoguerra/parse-repo.git"},"bugs":{"url":"https://github.com/dgoguerra/parse-repo/issues"},"scripts":{"test":"tape test.js"},"devDependencies":{"tape":"^4.5.1"},"gitHead":"6c3a0fd1a931d525f2db5e23142ca063c392305f","_id":"parse-repo@1.0.3","_shasum":"90ff68ab6ddbb73fd8550e5b413b7901f608b12a","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"dgoguerra","email":"dgoguerra.or@gmail.com"},"dist":{"shasum":"90ff68ab6ddbb73fd8550e5b413b7901f608b12a","size":1653,"noattachment":false,"key":"/parse-repo/-/parse-repo-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/parse-repo/download/parse-repo-1.0.3.tgz"},"maintainers":[{"name":"dgoguerra","email":"dgoguerra.or@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-repo-1.0.3.tgz_1508257377532_0.6259526691865176"},"directories":{},"publish_time":1508257378478,"_hasShrinkwrap":false,"_cnpm_publish_time":1508257378478},"1.0.2":{"name":"parse-repo","version":"1.0.2","description":"Extract repository info from a git remote URI","author":{"name":"Diego Guerra","email":"dgoguerra.or@gmail.com"},"license":"MIT","homepage":"https://github.com/dgoguerra/parse-repo","keywords":["parse","repository","repo","uri","github","bitbucket"],"repository":{"type":"git","url":"git+https://github.com/dgoguerra/parse-repo.git"},"bugs":{"url":"https://github.com/dgoguerra/parse-repo/issues"},"scripts":{"test":"tape test.js"},"devDependencies":{"tape":"^4.5.1"},"gitHead":"a162812f9a190ec9a8826d60813fa0dd9a95dd17","_id":"parse-repo@1.0.2","_shasum":"d76f0a46b33cb1589623caf81a5b6740e1fea9da","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"dgoguerra","email":"dgoguerra.or@gmail.com"},"dist":{"shasum":"d76f0a46b33cb1589623caf81a5b6740e1fea9da","size":1652,"noattachment":false,"key":"/parse-repo/-/parse-repo-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/parse-repo/download/parse-repo-1.0.2.tgz"},"maintainers":[{"name":"dgoguerra","email":"dgoguerra.or@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-repo-1.0.2.tgz_1508256497067_0.8474595893640071"},"directories":{},"publish_time":1508256497951,"_hasShrinkwrap":false,"_cnpm_publish_time":1508256497951},"1.0.1":{"name":"parse-repo","version":"1.0.1","description":"Extract repository info from a git remote URI","author":{"name":"Diego Guerra","email":"dgoguerra.or@gmail.com"},"license":"MIT","homepage":"https://github.com/dgoguerra/parse-repo","keywords":["parse","repository","repo","uri","github","bitbucket"],"repository":{"type":"git","url":"git+https://github.com/dgoguerra/parse-repo.git"},"bugs":{"url":"https://github.com/dgoguerra/parse-repo/issues"},"scripts":{"test":"tape test.js"},"devDependencies":{"tape":"^4.5.1"},"gitHead":"57865d70c1794360fb13d5d2e91fe29c7ae37fba","_id":"parse-repo@1.0.1","_shasum":"b8a81ef4746064c7d89dcb60b3c74a9ad6700720","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"dgoguerra","email":"dgoguerra.or@gmail.com"},"dist":{"shasum":"b8a81ef4746064c7d89dcb60b3c74a9ad6700720","size":1595,"noattachment":false,"key":"/parse-repo/-/parse-repo-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/parse-repo/download/parse-repo-1.0.1.tgz"},"maintainers":[{"name":"dgoguerra","email":"dgoguerra.or@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/parse-repo-1.0.1.tgz_1458585484457_0.7717375771608204"},"directories":{},"publish_time":1458585486881,"_cnpm_publish_time":1458585486881,"_hasShrinkwrap":false},"1.0.0":{"name":"parse-repo","version":"1.0.0","description":"Extract repository info from a git remote URI","author":{"name":"Diego Guerra","email":"dgoguerra.or@gmail.com"},"license":"MIT","homepage":"https://github.com/dgoguerra/parse-repo","bugs":{"url":"https://github.com/dgoguerra/parse-repo/issues"},"scripts":{"test":"tape test.js"},"devDependencies":{"tape":"^4.5.1"},"gitHead":"2db0f16260a458561ead26420ed43bc80860c29c","_id":"parse-repo@1.0.0","_shasum":"3dbe1a669069012213720eb7a05bbc2f3e696460","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"dgoguerra","email":"dgoguerra.or@gmail.com"},"dist":{"shasum":"3dbe1a669069012213720eb7a05bbc2f3e696460","size":1197,"noattachment":false,"key":"/parse-repo/-/parse-repo-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/parse-repo/download/parse-repo-1.0.0.tgz"},"maintainers":[{"name":"dgoguerra","email":"dgoguerra.or@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/parse-repo-1.0.0.tgz_1458584353734_0.12527365959249437"},"directories":{},"publish_time":1458584355973,"_cnpm_publish_time":1458584355973,"_hasShrinkwrap":false}},"readme":"parse-repo\n==========\n\nExtract repository information from a git remote URI.\n\nInstallation\n------------\n\n```\nnpm install parse-repo\n```\n\nUsage\n-----\n\n```js\nvar parseRepo = require('parse-repo');\n\n// parsing a GitHub https remote\nparseRepo('https://github.com/npm/docs.git');\n/*\n{ remote: 'https://github.com/npm/docs.git',\n  protocol: 'https',\n  host: 'github.com',\n  repository: 'npm/docs',\n  owner: 'npm',\n  project: 'docs' }\n*/\n\n// slightly different bitbucket URI\nparseRepo('https://user@bitbucket.org/owner/org');\n/*\n{ remote: 'https://user@bitbucket.org/owner/org',\n  protocol: 'https',\n  host: 'bitbucket.org',\n  repository: 'owner/org',\n  owner: 'owner',\n  project: 'org' }\n*/\n\n// git remotes are also supported\nparseRepo('git@gitlab.com:gitlab-org/gitlab-ce.git');\n/*\n{ remote: 'git@gitlab.com:gitlab-org/gitlab-ce.git',\n  protocol: 'git',\n  host: 'gitlab.com',\n  repository: 'gitlab-org/gitlab-ce',\n  owner: 'gitlab-org',\n  project: 'gitlab-ce' }\n*/\n\n// a local remote, without owner information\nparseRepo('/local/path/repo-name');\n/*\n{ remote: '/local/path/repo-name',\n  protocol: 'file',\n  host: 'localhost',\n  repository: 'repo-name',\n  owner: null,\n  project: 'repo-name' }\n*/\n```\n\nLicense\n-------\nMIT license - http://www.opensource.org/licenses/mit-license.php\n","_attachments":{},"homepage":"https://github.com/dgoguerra/parse-repo","bugs":{"url":"https://github.com/dgoguerra/parse-repo/issues"},"license":"MIT"}