Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    github-url-from-username-repopublic

    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 
     

    install

    npm i github-url-from-username-repo

    Downloadsweekly downloads

    34,452

    version

    1.0.2

    license

    BSD-2-Clause

    homepage

    github.com

    last publish

    collaborators

    • avatar
    • avatar
    • avatar