github-url-from-username-repo

Create urls from username/repo

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
github-url-from-username-repo
1.0.28 years ago9 years agoMinified + gzip package size for github-url-from-username-repo in KB

Readme

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