{"_id":"@bahmutov/parse-github-repo-url","_rev":"175616","name":"@bahmutov/parse-github-repo-url","description":"Parse a GitHub URL for user/project@version","dist-tags":{"latest":"0.1.2"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"time":{"modified":"2021-06-03T11:57:23.000Z","created":"2015-12-12T22:51:30.842Z","0.1.2":"2016-04-13T20:28:20.271Z","0.1.1":"2016-03-26T02:37:38.963Z","0.1.0":"2016-01-07T19:17:13.701Z","0.0.0":"2015-12-12T22:53:05.996Z","0.0.0-semantic-release":"2015-12-12T22:51:30.842Z"},"users":{},"author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/parse-github-repo-url.git"},"versions":{"0.1.2":{"name":"@bahmutov/parse-github-repo-url","description":"Parse a GitHub URL for user/project@version","version":"0.1.2","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"contributors":[{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bahmutov/parse-github-repo-url.git"},"devDependencies":{"pre-git":"3.8.3","rocha":"2.3.0","semantic-release":"6.2.1"},"keywords":["github","gh","url","parse","parser"],"files":["index.js"],"main":"index.js","scripts":{"test":"node --harmony node_modules/.bin/rocha test.js","semantic-release":"semantic-release pre && npm publish && semantic-release post","commit":"commit-wizard","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"},"config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm test"],"pre-push":["npm run size"],"post-commit":[],"post-merge":[]}},"gitHead":"347f4dc8cebf7758a124625020e1b148382b1f70","bugs":{"url":"https://github.com/bahmutov/parse-github-repo-url/issues"},"homepage":"https://github.com/bahmutov/parse-github-repo-url#readme","_id":"@bahmutov/parse-github-repo-url@0.1.2","_shasum":"6311dfbe7fe00ac464b9069d0e2684a739aeb69b","_from":".","_npmVersion":"2.15.3","_nodeVersion":"4.4.3","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"6311dfbe7fe00ac464b9069d0e2684a739aeb69b","size":2705,"noattachment":false,"key":"/@bahmutov/parse-github-repo-url/-/@bahmutov/parse-github-repo-url-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@bahmutov/parse-github-repo-url/download/@bahmutov/parse-github-repo-url-0.1.2.tgz"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/parse-github-repo-url-0.1.2.tgz_1460579298520_0.07037933287210763"},"deprecated":"All features were merged back into original parse-github-repo-url","directories":{},"publish_time":1460579300271,"_cnpm_publish_time":1460579300271,"_hasShrinkwrap":false},"0.1.1":{"name":"@bahmutov/parse-github-repo-url","description":"Parse a GitHub URL for user/project@version","version":"0.1.1","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"contributors":[{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bahmutov/parse-github-repo-url.git"},"devDependencies":{"pre-git":"3.1.0","rocha":"1.6.1","semantic-release":"^4.3.5"},"keywords":["github","gh","url","parse","parser"],"files":["index.js"],"main":"index.js","scripts":{"test":"node --harmony node_modules/.bin/rocha test.js","semantic-release":"semantic-release pre && npm publish && semantic-release post","commit":"commit-wizard","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"},"config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm test"],"pre-push":["npm run size"],"post-commit":[],"post-merge":[]}},"gitHead":"3adf2bda5d59de10424acbb98811403c2311ca01","bugs":{"url":"https://github.com/bahmutov/parse-github-repo-url/issues"},"homepage":"https://github.com/bahmutov/parse-github-repo-url#readme","_id":"@bahmutov/parse-github-repo-url@0.1.1","_shasum":"82828d2329f4658a0f8c9ed38ba76e929666ad6c","_from":".","_npmVersion":"2.15.2","_nodeVersion":"4.4.1","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"82828d2329f4658a0f8c9ed38ba76e929666ad6c","size":2640,"noattachment":false,"key":"/@bahmutov/parse-github-repo-url/-/@bahmutov/parse-github-repo-url-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@bahmutov/parse-github-repo-url/download/@bahmutov/parse-github-repo-url-0.1.1.tgz"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/parse-github-repo-url-0.1.1.tgz_1458959858023_0.8626553697977215"},"directories":{},"publish_time":1458959858963,"_cnpm_publish_time":1458959858963,"deprecated":"All features were merged back into original parse-github-repo-url","_hasShrinkwrap":false},"0.1.0":{"name":"@bahmutov/parse-github-repo-url","description":"Parse a GitHub URL for user/project@version","version":"0.1.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"contributors":[{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bahmutov/parse-github-repo-url.git"},"devDependencies":{"pre-git":"3.1.0","rocha":"1.6.1","semantic-release":"^4.3.5"},"keywords":["github","gh","url","parse","parser"],"files":["index.js"],"main":"index.js","scripts":{"test":"node --harmony node_modules/.bin/rocha test.js","semantic-release":"semantic-release pre && npm publish && semantic-release post","commit":"commit-wizard","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"},"config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm test"],"pre-push":["npm run size"],"post-commit":[],"post-merge":[]}},"gitHead":"fba300b2c9c0ee0874635b62773243a5ea7fa8bd","bugs":{"url":"https://github.com/bahmutov/parse-github-repo-url/issues"},"homepage":"https://github.com/bahmutov/parse-github-repo-url#readme","_id":"@bahmutov/parse-github-repo-url@0.1.0","_shasum":"513e837120405eebd446bc7087def88a1f4e2600","_from":".","_npmVersion":"2.14.15","_nodeVersion":"4.2.4","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"513e837120405eebd446bc7087def88a1f4e2600","size":2742,"noattachment":false,"key":"/@bahmutov/parse-github-repo-url/-/@bahmutov/parse-github-repo-url-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@bahmutov/parse-github-repo-url/download/@bahmutov/parse-github-repo-url-0.1.0.tgz"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"directories":{},"publish_time":1452194233701,"_cnpm_publish_time":1452194233701,"deprecated":"All features were merged back into original parse-github-repo-url","_hasShrinkwrap":false},"0.0.0":{"name":"@bahmutov/parse-github-repo-url","description":"Parse a GitHub URL for user/project@version","version":"0.0.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"contributors":[{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bahmutov/parse-github-repo-url.git"},"devDependencies":{"mocha":"2.3.4","pre-git":"3.1.0","semantic-release":"^4.3.5"},"keywords":["github","gh","url","parse","parser"],"files":["index.js"],"main":"index.js","scripts":{"test":"mocha --reporter spec --bail","semantic-release":"semantic-release pre && npm publish && semantic-release post","commit":"commit-wizard","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"},"config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm test"],"pre-push":["npm run size"],"post-commit":[],"post-merge":[]}},"gitHead":"9c8a1a63b1e442265d8c1fd4bc1529004d962677","bugs":{"url":"https://github.com/bahmutov/parse-github-repo-url/issues"},"homepage":"https://github.com/bahmutov/parse-github-repo-url#readme","_id":"@bahmutov/parse-github-repo-url@0.0.0","_shasum":"5d9bbf32ec6cfed11ec267eb6a8e84d5d02ee1d2","_from":".","_npmVersion":"2.14.15","_nodeVersion":"4.2.3","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"5d9bbf32ec6cfed11ec267eb6a8e84d5d02ee1d2","size":2648,"noattachment":false,"key":"/@bahmutov/parse-github-repo-url/-/@bahmutov/parse-github-repo-url-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@bahmutov/parse-github-repo-url/download/@bahmutov/parse-github-repo-url-0.0.0.tgz"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"directories":{},"publish_time":1449960785996,"_cnpm_publish_time":1449960785996,"deprecated":"All features were merged back into original parse-github-repo-url","_hasShrinkwrap":false},"0.0.0-semantic-release":{"name":"@bahmutov/parse-github-repo-url","description":"Parse a GitHub URL for user/project@version","version":"0.0.0-semantic-release","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"contributors":[{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bahmutov/parse-github-repo-url.git"},"devDependencies":{"mocha":"2.3.4","pre-git":"3.1.0","semantic-release":"^4.3.5"},"files":["index.js"],"main":"index.js","scripts":{"test":"mocha --reporter spec --bail","semantic-release":"semantic-release pre && npm publish && semantic-release post","commit":"commit-wizard","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"},"config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm test"],"pre-push":["npm run size"],"post-commit":[],"post-merge":[]}},"gitHead":"89d517f7e3a17b4969ca1a6651a5c27d57e7448e","bugs":{"url":"https://github.com/bahmutov/parse-github-repo-url/issues"},"homepage":"https://github.com/bahmutov/parse-github-repo-url#readme","_id":"@bahmutov/parse-github-repo-url@0.0.0-semantic-release","_shasum":"70f155922f6a537c07809426dc54faf9f0f0eda2","_from":".","_npmVersion":"3.5.1","_nodeVersion":"0.12.7","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"70f155922f6a537c07809426dc54faf9f0f0eda2","size":2642,"noattachment":false,"key":"/@bahmutov/parse-github-repo-url/-/@bahmutov/parse-github-repo-url-0.0.0-semantic-release.tgz","tarball":"http://registry.cnpm.dingdandao.com/@bahmutov/parse-github-repo-url/download/@bahmutov/parse-github-repo-url-0.0.0-semantic-release.tgz"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"directories":{},"publish_time":1449960690842,"_cnpm_publish_time":1449960690842,"_hasShrinkwrap":false}},"readme":"# DEPRECATED - all features were merged back into \n# original repo [repo-utils/parse-github-repo-url](https://github.com/repo-utils/parse-github-repo-url)\n# available on NPM under \"parse-github-repo-url\"\n\n# @bahmutov/parse-github-repo-url\n\n> Parse a GitHub URL for user/project@version\n\n[![NPM info][nodei.co]][npm-url]\n\n[![Build][parse-github-repo-url-ci-image]][parse-github-repo-url-ci-url]\n[![semantic-release][semantic-image] ][semantic-url]\n[![manpm](https://img.shields.io/badge/manpm-%E2%9C%93-3399ff.svg)](https://github.com/bahmutov/manpm)\n\nNote: this is a clone of [repo-utils/parse-github-repo-url](https://github.com/repo-utils/parse-github-repo-url)\nwith additional parsers, since my [pull request](https://github.com/repo-utils/parse-github-repo-url/pull/1)\nwas in limbo for a very long time.\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('@bahmutov/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\n[nodei.co]: https://nodei.co/npm/@bahmutov/parse-github-repo-url.png?downloads=true\n[npm-url]: https://npmjs.org/package/@bahmutov/parse-github-repo-url\n[parse-github-repo-url-ci-image]: https://secure.travis-ci.org/bahmutov/parse-github-repo-url.png?branch=master\n[parse-github-repo-url-ci-url]: http://travis-ci.org/#!/bahmutov/parse-github-repo-url\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","_attachments":{},"homepage":"https://github.com/bahmutov/parse-github-repo-url#readme","bugs":{"url":"https://github.com/bahmutov/parse-github-repo-url/issues"},"license":"MIT"}