{"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","tarball":"http://registry-npm.ywwl.com/parse-github-repo-url/download/parse-github-repo-url-1.3.0.tgz","integrity":"sha512-urJGsBLEB+PYk75uiMovGkZJMXLWU6BhfqSD/zqT2cd5UTWW3sYsmxlNbqQVjT0tWmGBRKupVjlj+zyX+RzgKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC96N4KTul/VvKeKk5T6o2kVOKgQINqbD6rDASmnBVUFQIgdBPOKHv2/07MFy88eT3ZsZ7uBVRdTBMZ/fV4Bbtt05s="}],"size":2266,"noattachment":false,"key":"/parse-github-repo-url/-/parse-github-repo-url-1.3.0.tgz"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},{"name":"fishrock123","email":"fishrock123@rocketmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/parse-github-repo-url-1.3.0.tgz_1460913597720_0.9110001884400845"},"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":1460913598993,"_cnpm_publish_time":1460913598993,"dist-tags":{"latest":"1.4.1"}}