{"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","tarball":"http://registry-npm.ywwl.com/@bahmutov/parse-github-repo-url/download/@bahmutov/parse-github-repo-url-0.1.0.tgz","integrity":"sha512-YQUtw2sLhH5nb4GtJQeGkJ4ZRk/MToi5hw4j3PyAVwcj2gMoX3HC043TWQOrA9tPPvz7eweh3K3KoBEzGxXDLg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEoscrEwYLbLX0l1l+2AIc9j1W3L78Kf0fXhrTgi8Ff2AiBPKrnvAnB+i6J0pT/mgObt+Eu9KERyFoK+1YSPslT58w=="}],"size":2742,"noattachment":false,"key":"/@bahmutov/parse-github-repo-url/-/@bahmutov/parse-github-repo-url-0.1.0.tgz"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"deprecated":"All features were merged back into original parse-github-repo-url","directories":{},"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","publish_time":1452194233701,"_cnpm_publish_time":1452194233701,"dist-tags":{"latest":"0.1.2"}}