github-url-from-username-repo
Create urls from username/repo
Last updated 12 years ago by robertkowalski .
BSD-2-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ npm install github-url-from-username-repo 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.2                                ...           latest (12 years ago)

6 Versions

  • 1.0.2                                ...           12 years ago
  • 1.0.1                                ...           12 years ago
  • 1.0.0                                ...           12 years ago
  • 0.2.0                                ...           13 years ago
  • 0.1.0                                ...           13 years ago
  • 0.0.2                                ...           13 years ago
Downloads
Total 9
Today 1
This Week 1
This Month 2
Last Day 1
Last Week 1
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE