normalize-ssh

1.0.0 • Public • Published

normalize-ssh

Normalize a SSH URL

npm version Build Status

Installation

npm i -S normalize-ssh

Usage

const normalizeSshUrl = require('normalize-ssh')
 
normalizeSshUrl('git@gitlab.domain.tld:myproject/myrepo.git')
//> ssh://git@gitlab.domain.tld:22/myproject/myrepo.git

License

MIT © Zoltan Kochan

/normalize-ssh/

    Package Sidebar

    Install

    npm i normalize-ssh

    Weekly Downloads

    64

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • zkochan