github-url-from-username-repo
Create urls from username/repo
Last updated 12 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 (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                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
  • 0.0.2                                ...           13 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (1)

Copyright 2013 - present © cnpmjs.org | Home |