{"_id":"parse-github-repo-url","_rev":"123573","name":"parse-github-repo-url","description":"Parse a GitHub URL for user/project@version","dist-tags":{"latest":"1.4.1"},"maintainers":[{"name":"bahmutov","email":""},{"name":"fishrock123","email":""},{"name":"jongleberry","email":""},{"name":"sindresorhus","email":""}],"time":{"modified":"2022-10-18T09:54:34.000Z","created":"2014-04-23T10:24:49.810Z","1.4.1":"2017-08-31T03:52:10.755Z","1.4.0":"2017-02-05T03:19:55.557Z","1.3.0":"2016-04-17T17:19:58.993Z","1.2.0":"2016-04-13T23:50:59.350Z","1.0.0":"2014-04-23T10:24:49.810Z"},"users":{},"author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"repository":{"type":"git","url":"git+https://github.com/repo-utils/parse-github-repo-url.git"},"versions":{"1.4.1":{"name":"parse-github-repo-url","description":"Parse a GitHub URL for user/project@version","version":"1.4.1","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/repo-utils/parse-github-repo-url.git"},"devDependencies":{"mocha":"1","semantic-release":"^4.3.5"},"main":"index.js","files":["index.js"],"scripts":{"test":"mocha --reporter spec --bail","semantic-release":"semantic-release pre && npm publish && semantic-release post","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"},"gitHead":"1fa80ee2a034b2da0beb94f0ff36a35064747c40","bugs":{"url":"https://github.com/repo-utils/parse-github-repo-url/issues"},"homepage":"https://github.com/repo-utils/parse-github-repo-url#readme","_id":"parse-github-repo-url@1.4.1","_shasum":"9e7d8bb252a6cb6ba42595060b7bf6df3dbc1f50","_from":".","_npmVersion":"2.15.12","_nodeVersion":"4.8.4","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"9e7d8bb252a6cb6ba42595060b7bf6df3dbc1f50","size":2368,"noattachment":false,"key":"/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz","tarball":"http://name.csiicloud.com:7001/parse-github-repo-url/download/parse-github-repo-url-1.4.1.tgz"},"maintainers":[{"name":"bahmutov","email":""},{"name":"fishrock123","email":""},{"name":"jongleberry","email":""},{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-github-repo-url-1.4.1.tgz_1504151529737_0.08569483086466789"},"directories":{},"publish_time":1504151530755,"_hasShrinkwrap":false,"_cnpm_publish_time":1504151530755},"1.4.0":{"name":"parse-github-repo-url","description":"Parse a GitHub URL for user/project@version","version":"1.4.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/repo-utils/parse-github-repo-url.git"},"devDependencies":{"mocha":"1","semantic-release":"^4.3.5"},"main":"index.js","files":["index.js"],"scripts":{"test":"mocha --reporter spec --bail","semantic-release":"semantic-release pre && npm publish && semantic-release post","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"},"gitHead":"20f12773d25543200d040b829cc893679bf0d1e9","bugs":{"url":"https://github.com/repo-utils/parse-github-repo-url/issues"},"homepage":"https://github.com/repo-utils/parse-github-repo-url#readme","_id":"parse-github-repo-url@1.4.0","_shasum":"286c53e2c9962e0641649ee3ac9508fca4dd959c","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.3","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"286c53e2c9962e0641649ee3ac9508fca4dd959c","size":2264,"noattachment":false,"key":"/parse-github-repo-url/-/parse-github-repo-url-1.4.0.tgz","tarball":"http://name.csiicloud.com:7001/parse-github-repo-url/download/parse-github-repo-url-1.4.0.tgz"},"maintainers":[{"name":"bahmutov","email":""},{"name":"fishrock123","email":""},{"name":"jongleberry","email":""},{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/parse-github-repo-url-1.4.0.tgz_1486264794841_0.4142665211111307"},"directories":{},"publish_time":1486264795557,"_cnpm_publish_time":1486264795557,"_hasShrinkwrap":false},"1.3.0":{"name":"parse-github-repo-url","description":"Parse a GitHub URL for user/project@version","version":"1.3.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/repo-utils/parse-github-repo-url.git"},"devDependencies":{"mocha":"1","semantic-release":"^4.3.5"},"main":"index.js","files":["index.js"],"scripts":{"test":"mocha --reporter spec --bail","semantic-release":"semantic-release pre && npm publish && semantic-release post","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"},"gitHead":"ed7a93b3edbb22596f688d407e46d878c55267bd","bugs":{"url":"https://github.com/repo-utils/parse-github-repo-url/issues"},"homepage":"https://github.com/repo-utils/parse-github-repo-url#readme","_id":"parse-github-repo-url@1.3.0","_shasum":"d4de02d68e2e60f0d6a182e7a8cb21b6f38c730b","_from":".","_npmVersion":"2.15.3","_nodeVersion":"4.4.3","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"d4de02d68e2e60f0d6a182e7a8cb21b6f38c730b","size":2266,"noattachment":false,"key":"/parse-github-repo-url/-/parse-github-repo-url-1.3.0.tgz","tarball":"http://name.csiicloud.com:7001/parse-github-repo-url/download/parse-github-repo-url-1.3.0.tgz"},"maintainers":[{"name":"bahmutov","email":""},{"name":"fishrock123","email":""},{"name":"jongleberry","email":""},{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/parse-github-repo-url-1.3.0.tgz_1460913597720_0.9110001884400845"},"directories":{},"publish_time":1460913598993,"_cnpm_publish_time":1460913598993,"_hasShrinkwrap":false},"1.2.0":{"name":"parse-github-repo-url","description":"Parse a GitHub URL for user/project@version","version":"1.2.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/repo-utils/parse-github-repo-url.git"},"devDependencies":{"mocha":"1"},"main":"index.js","scripts":{"test":"mocha --reporter spec --bail"},"gitHead":"9bb420aedb284220db61c2fe1612be3df84f0828","bugs":{"url":"https://github.com/repo-utils/parse-github-repo-url/issues"},"homepage":"https://github.com/repo-utils/parse-github-repo-url#readme","_id":"parse-github-repo-url@1.2.0","_shasum":"c8b53fdc3347fd7e344333fe6d2bc054b3e25af2","_from":".","_npmVersion":"3.7.2","_nodeVersion":"5.1.0","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"c8b53fdc3347fd7e344333fe6d2bc054b3e25af2","size":3041,"noattachment":false,"key":"/parse-github-repo-url/-/parse-github-repo-url-1.2.0.tgz","tarball":"http://name.csiicloud.com:7001/parse-github-repo-url/download/parse-github-repo-url-1.2.0.tgz"},"maintainers":[{"name":"bahmutov","email":""},{"name":"fishrock123","email":""},{"name":"jongleberry","email":""},{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/parse-github-repo-url-1.2.0.tgz_1460591456981_0.3195826606824994"},"directories":{},"publish_time":1460591459350,"_cnpm_publish_time":1460591459350,"_hasShrinkwrap":false},"1.0.0":{"name":"parse-github-repo-url","description":"Parse a GitHub URL for user/project@version","version":"1.0.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/repo-utils/parse-github-repo-url"},"devDependencies":{"mocha":"1"},"scripts":{"test":"mocha --reporter spec --bail"},"bugs":{"url":"https://github.com/repo-utils/parse-github-repo-url/issues"},"homepage":"https://github.com/repo-utils/parse-github-repo-url","_id":"parse-github-repo-url@1.0.0","dist":{"shasum":"88578a0692342cffc6a0bf95a9aad08339f3eacf","size":2562,"noattachment":false,"key":"/parse-github-repo-url/-/parse-github-repo-url-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/parse-github-repo-url/download/parse-github-repo-url-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"bahmutov","email":""},{"name":"fishrock123","email":""},{"name":"jongleberry","email":""},{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1398248689810,"_cnpm_publish_time":1398248689810,"_hasShrinkwrap":false}},"readme":"# parse-github-repo-url\n\n> Parse a GitHub URL for user/project@version\n\n[![Build Status](https://travis-ci.org/repo-utils/parse-github-repo-url.svg?branch=master)](https://travis-ci.org/repo-utils/parse-github-repo-url)\n[![semantic-release][semantic-image] ][semantic-url]\n\n[semantic-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\n[semantic-url]: https://github.com/semantic-release/semantic-release\n\n# Features\n\nParse all the stupid ways you could write a GitHub URL in your damn `package.json`.\nSupports:\n\n- `<user>/<repo#<commit>`\n- `git://` and `.git` w/ `#commit` or `@version`\n- `git@` and `https:git@`\n- `www.github.com`\n- `gitlab.<my company name>.com/user/repo.git` parsing\n- All 5 different ways you could download a freaking tarball/zipball\n\n## API\n\n### [user, repo, version] = parse(url)\n\n`version` could be `false`y, a semantic version, a commit, or a branch, etc.\n\n```js\nvar parse = require('parse-github-repo-url')\nparse('component/emitter#1') // => ['component', 'emitter', '1']\n```\n\nSee the tests for all the different types of supported URLs.\n","_attachments":{},"homepage":"https://github.com/repo-utils/parse-github-repo-url#readme","bugs":{"url":"https://github.com/repo-utils/parse-github-repo-url/issues"},"license":"MIT"}