{"name":"parse-github-repo-url","description":"Parse a GitHub URL for user/project@version","version":"1.0.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/repo-utils/parse-github-repo-url"},"devDependencies":{"mocha":"1"},"scripts":{"test":"mocha --reporter spec --bail"},"bugs":{"url":"https://github.com/repo-utils/parse-github-repo-url/issues"},"homepage":"https://github.com/repo-utils/parse-github-repo-url","_id":"parse-github-repo-url@1.0.0","dist":{"shasum":"88578a0692342cffc6a0bf95a9aad08339f3eacf","tarball":"http://registry-npm.ywwl.com/parse-github-repo-url/download/parse-github-repo-url-1.0.0.tgz","integrity":"sha512-N5P+013Hd6hGrskTw70HaPZZknXLGjGrKqNrgZ7q7COZIHU/qaNnvDQUG1lbWHujMebSzktsP1xx7+pOnOMN5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBJufAL0KsKhDCsRXBHohp/3WqhrdvqUlW4qvL/UJKsDAiB+Y/i2PvUkWByMNKPn6pNJoEOg8u0ngJTsZcQgu3XteA=="}],"size":2562,"noattachment":false,"key":"/parse-github-repo-url/-/parse-github-repo-url-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"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":1398248689810,"_cnpm_publish_time":1398248689810,"dist-tags":{"latest":"1.4.1"}}