Socket
Socket
Sign inDemoInstall

vcsurl

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vcsurl

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


Version published
Weekly downloads
4K
increased by44.83%
Maintainers
1
Install size
4.63 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 22 Jan 2013

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc