vcsurl
Convert VCS repository URLs like Github or Bitbucket to their http equivalents.
Last updated 12 years ago by jp .
· Repository · Original npm · Tarball · package.json
$ npm install vcsurl 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.1                                ...           latest (12 years ago)

3 Versions

  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
  • 0.0.1                                ...           12 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (0)
None

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