{"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","tarball":"http://registry-npm.ywwl.com/parse-github-repo-url/download/parse-github-repo-url-1.2.0.tgz","integrity":"sha512-dKqhLSiQDpg/vQda6TLMu69F2UE/Tx0GmNEZZZ8ba6XG/9d6Q09bERHNIJy4WL6CWunMnMtPIkTxpJfdOxMxYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGihK1KprshVq5soesYcVMQIRysTOFtlsyB08rzEM6VpAiEAh+XD//z97inxoEMO8GCoHapojbu11Nx32BuB1kR+DqI="}],"size":3041,"noattachment":false,"key":"/parse-github-repo-url/-/parse-github-repo-url-1.2.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-12-west.internal.npmjs.com","tmp":"tmp/parse-github-repo-url-1.2.0.tgz_1460591456981_0.3195826606824994"},"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":1460591459350,"_cnpm_publish_time":1460591459350,"dist-tags":{"latest":"1.4.1"}}