git-remote-protocol
0.1.0 • Public • Published git-remote-protocol
Convert an HTTPS Git remote URL to SSH and the opposite.
Installation
npm install git-remote-protocol
Usage
const gitRemote = require('git-remote-protocol');
gitRemote.toSSH('https://github.com/torvalds/linux.git')
gitRemote.toHTTPS('git@bitbucket.org:mirror/linux.git')
License
MIT
Package Sidebar
Install
npm i git-remote-protocol
Weekly Downloads