{"_id":"parse-repo","_rev":"256054","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":"2024-06-16T00:36:48.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","tarball":"http://registry-npm.ywwl.com/parse-repo/download/parse-repo-1.0.4.tgz","integrity":"sha512-RdwYLh7cmxByP/BfeZX0QfIVfeNrH2fWgK1aLsGK+G6nCO4WTlCks4J7aW0O3Ap9BCPDF/e8rGTT50giQr10zg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCH0ItWzrCZAQivvuiuFYlGybU0Hr2NGnA2AbNzGiY07ACIGMyf1D5rKSdZ33C+OnNAvcpOso+RASFPjcxeamJLlsv"}],"size":3442,"noattachment":false,"key":"/parse-repo/-/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,"_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","tarball":"http://registry-npm.ywwl.com/parse-repo/download/parse-repo-1.0.3.tgz","integrity":"sha512-AzngKSsP08lE8hAokmPr9YrKnX+6dibsSDzVGhmg4xotYtyftip9aXAbH03xQ2hTRzEGgZLe/Tt3SmINthQS1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeMhVwY7AdmuWdoMIGm3FOssdVSmwTRybI4gw0I0UlCQIhANHLhU1dO57VCI0Z/HKR3bxkwqdW8Hb1OPOyqQdreQBt"}],"size":1653,"noattachment":false,"key":"/parse-repo/-/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,"_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","tarball":"http://registry-npm.ywwl.com/parse-repo/download/parse-repo-1.0.2.tgz","integrity":"sha512-taXto5YPXMe6k+T6fzpvkJ0jHCNQONDW6rhQkJfcJVEVEst3s+lrnys61iy8e/6DMkGguzT/AqCgCiIBJG3cag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB1Or8RkJJMErbjqDtDHVLAYrBesaRPhfFMQyfo45/KoAiEAnRZ2rrCxkJSWZVLNxLs5W/b/8mlOvJPwGQ9S66qHRHE="}],"size":1652,"noattachment":false,"key":"/parse-repo/-/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,"_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","tarball":"http://registry-npm.ywwl.com/parse-repo/download/parse-repo-1.0.1.tgz","integrity":"sha512-yijfFywIHFWg+AUeHpSRskDI27DdIPlFZG9Jpy+68Xggl/B9bQnsrLymZNZAhDvViISL9sSEb1sI9lNx3zmKSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxH3AOV5kk0SJW9ijuxSX+fG2+pOPQu/hPZGl3t6cDyAIhAJqzD0V2d8ymMW1eNY8FwJIZZAwVgk8vYll4BI5fekZs"}],"size":1595,"noattachment":false,"key":"/parse-repo/-/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},"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","tarball":"http://registry-npm.ywwl.com/parse-repo/download/parse-repo-1.0.0.tgz","integrity":"sha512-iXNWFeeKo+iWSh/57XbfhYLke8O56reEcODjcdjTcM0oXtvx591coMDTGs1MUVaw8VTQ+SHIJXCk9PiJepvYMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICoXBR8SagDEnp43HF+Ugp2BE+j59JrlnMlztcFVfBs6AiALn3gJLYTTq6ZmdyfAgKsxWhzLte1/RIzdhBCFQ/Bnkw=="}],"size":1197,"noattachment":false,"key":"/parse-repo/-/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}},"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"}