github-url-from-username-repo

1.0.2 • Public • Published

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
 

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    35,558
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    35,558
  • 1.0.1
    1
  • 1.0.0
    0
  • 0.2.0
    29
  • 0.1.0
    4,012
  • 0.0.2
    175

Package Sidebar

Install

npm i github-url-from-username-repo

Weekly Downloads

32,155

Version

1.0.2

License

BSD-2-Clause

Last publish

Collaborators

  • robertkowalski
  • othiym23
  • forbeslindesay