vcsurl

0.1.1 • Public • Published

Node.js - vcsurl

Convert VCS repository URLs like Github or Bitbucket to their http equivalents.

Why?

Some of my apps take an input a Github repo URL; I wanted to easily get the http url to investigate the project. This will be used in npm-research.

Installation

npm install vcsurl

Example

var vcsurl = require('vcsurl');
 
console.log(vcsurl('git@github.com:jprichardson/string.js.git')); //'https://github.com/jprichardson/string.js'

See tests for more details

License

(MIT License)

Copyright 2012, JP Richardson jprichardson@gmail.com

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    2,219
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    2,219
  • 0.1.0
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i vcsurl

Weekly Downloads

2,219

Version

0.1.1

License

none

Last publish

Collaborators

  • jprichardson