File: /home/ubuntu/.npm/github-from-package/0.0.0/package/package.json
{"name":"github-from-package","version":"0.0.0","description":"return the github url from a package.json file","main":"index.js","devDependencies":{"tap":"~0.3.0","tape":"~0.1.5"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/github-from-package.git"},"homepage":"https://github.com/substack/github-from-package","keywords":["github","package.json","npm","repository"],"author":{"name":"James Halliday","email":"[email protected]","url":"http://substack.net"},"license":"MIT","readme":"# github-from-package\n\nreturn the github url from a package.json file\n\n[](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\": \"[email protected]: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","_id":"[email protected]","dist":{"shasum":"97fb5d96bfde8973313f20e8288ef9a167fa64ce","tarball":"https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"substack","email":"[email protected]"},"maintainers":[{"name":"substack","email":"[email protected]"}],"directories":{},"_shasum":"97fb5d96bfde8973313f20e8288ef9a167fa64ce","_resolved":"https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz","_from":"[email protected]"}