github-url-from-username-repo
Create urls from username/repo
Last updated 6 years ago by othiym23 .
BSD-2-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (6 years ago)

6 Versions

  • 1.0.2                                ...           6 years ago
  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
  • 0.2.0                                ...           6 years ago
  • 0.1.0                                ...           7 years ago
  • 0.0.2                                ...           7 years ago
Downloads
Today 0
This Week 35
This Month 283
Last Day 35
Last Week 131
Last Month 827
Dependencies (0)
None
Dev Dependencies (1)

Copyright 2014 - 2016 © taobao.org |