{"dist":{"shasum":"97fb5d96bfde8973313f20e8288ef9a167fa64ce","tarball":"https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz","integrity":"sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==","signatures":[{"sig":"MEQCIFDWAiT2bZ2qpllWbLr8p0Z1mhzms7BPrRdWiC2IeIHQAiBgDnTTFfOEsEYktJ9WGYDc24K5zOtiiRQ9Sg3xis/Zew==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","name":"github-from-package","author":{"url":"http://substack.net","name":"James Halliday","email":"mail@substack.net"},"readme":"# github-from-package\n\nreturn the github url from a package.json file\n\n[![build status](https://secure.travis-ci.org/substack/github-from-package.png)](http://travis-ci.org/substack/github-from-package)\n\n# example\n\nFor the `./package.json` file:\n\n``` json\n{\n  \"name\": \"beep-boop\",\n  \"version\": \"1.2.3\",\n  \"repository\" : {\n    \"type\" : \"git\",\n    \"url\": \"git@github.com:substack/beep-boop.git\"\n  }\n}\n```\n\n``` js\nvar github = require('github-from-package');\nvar url = github(require('./package.json'));\nconsole.log(url);\n```\n\n```\nhttps://github.com/substack/beep-boop\n```\n\n# methods\n\n``` js\nvar github = require('github-from-package')\n```\n\n## var url = github(pkg)\n\nReturn the most likely github url from the package.json contents `pkg`. If no\ngithub url can be determined, return `undefined`.\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install github-from-package\n```\n\n# license\n\nMIT\n","license":"MIT","scripts":{"test":"tap test/*.js"},"_npmUser":{"name":"substack","email":"mail@substack.net"},"homepage":"https://github.com/substack/github-from-package","keywords":["github","package.json","npm","repository"],"repository":{"url":"git://github.com/substack/github-from-package.git","type":"git"},"_npmVersion":"1.1.59","description":"return the github url from a package.json file","directories":{},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"devDependencies":{"tap":"~0.3.0","tape":"~0.1.5"},"_id":"github-from-package@0.0.0","version":"0.0.0"}