1.0.0 • Published 7 years ago
normalize-ssh v1.0.0
normalize-ssh
Normalize a SSH URL
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