node/deps/npm/node_modules/github-url-from-username-repo
Timothy J Fontaine daca803e9e npm: Update to 1.4.28 2014-09-16 15:38:50 -07:00
..
test npm: Update to 1.4.28 2014-09-16 15:38:50 -07:00
.npmignore npm@1.3.12 2013-10-24 09:22:13 -07:00
.travis.yml npm@1.3.12 2013-10-24 09:22:13 -07:00
LICENSE npm@1.3.12 2013-10-24 09:22:13 -07:00
README.md npm: Update to 1.4.28 2014-09-16 15:38:50 -07:00
index.js npm: Update to 1.4.28 2014-09-16 15:38:50 -07:00
package.json npm: Update to 1.4.28 2014-09-16 15:38:50 -07:00

README.md

Build Status Dependency Status

github-url-from-username-repo

API

getUrl(url, [forBrowser])

Get's the url normalized for npm. If forBrowser is true, return a GitHub url that is usable in a webbrowser.

Usage


var getUrl = require("github-url-from-username-repo")
getUrl("visionmedia/express") // https://github.com/visionmedia/express