node/deps/npm/node_modules/github-url-from-username-repo
Timothy J Fontaine 9fad8958df deps: upgrade npm to 2.0.0 2014-09-24 17:15:10 -07:00
..
test deps: upgrade npm to 2.0.0 2014-09-24 17:15:10 -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 deps: upgrade npm to 2.0.0 2014-09-24 17:15:10 -07:00
package.json deps: upgrade npm to 2.0.0 2014-09-24 17:15:10 -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