{"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","tarball":"http://registry-npm.ywwl.com/parse-github-repo-url/download/parse-github-repo-url-1.4.1.tgz","integrity":"sha512-bSWyzBKqcSL4RrncTpGsEKoJ7H8a4L3++ifTAbTFeMHyq2wRV+42DGmQcHIrJIvdcacjIOxEuKH/w4tthF17gg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDvwb0UY13zvRrXFPW+SokXYZUc31lbTu9JAnMgZSQukAiEA61nZsexXjoXsOf13UD6pe6HEdw8QJ/nfaJMU6MWid88="}],"size":2368,"noattachment":false,"key":"/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},{"name":"fishrock123","email":"fishrock123@rocketmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-github-repo-url-1.4.1.tgz_1504151529737_0.08569483086466789"},"directories":{},"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","publish_time":1504151530755,"_cnpm_publish_time":1504151530755,"dist-tags":{"latest":"1.4.1"}}