{"_id":"normalize-ssh","_rev":"941667","name":"normalize-ssh","description":"Normalize a SSH URL","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"time":{"modified":"2021-09-23T02:08:00.000Z","created":"2017-02-22T00:39:10.744Z","1.0.0":"2017-02-22T19:30:58.061Z","0.0.0":"2017-02-22T00:39:10.744Z"},"users":{},"author":{"name":"Zoltan Kochan"},"repository":{"type":"git","url":"git+https://github.com/zkochan/normalize-ssh.git"},"versions":{"1.0.0":{"name":"normalize-ssh","version":"1.0.0","description":"Normalize a SSH URL","main":"index.js","files":["index.js"],"scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/zkochan/normalize-ssh.git"},"keywords":["ssh"],"author":{"name":"Zoltan Kochan"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/normalize-ssh/issues"},"homepage":"https://github.com/zkochan/normalize-ssh#readme","dependencies":{"is-ssh":"^1.3.0","parse-url":"^1.3.5"},"devDependencies":{"tape":"^4.6.3"},"gitHead":"04e0ba89f2bd08dc952f5e2e563101c4a9c218ba","_id":"normalize-ssh@1.0.0","_shasum":"22a8308fa7cd932bdb49af74ecac644cf4a6196b","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.1","_npmUser":{"name":"zkochan","email":"zoltan.kochan@gmail.com"},"dist":{"shasum":"22a8308fa7cd932bdb49af74ecac644cf4a6196b","size":1567,"noattachment":false,"key":"/normalize-ssh/-/normalize-ssh-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/normalize-ssh/download/normalize-ssh-1.0.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/normalize-ssh-1.0.0.tgz_1487791857483_0.06631806353107095"},"directories":{},"publish_time":1487791858061,"_cnpm_publish_time":1487791858061,"_hasShrinkwrap":false},"0.0.0":{"name":"normalize-ssh","version":"0.0.0","description":"Normalize a SSH URL","main":"index.js","files":["index.js"],"scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/zkochan/normalize-ssh.git"},"keywords":["ssh"],"author":{"name":"Zoltan Kochan"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/normalize-ssh/issues"},"homepage":"https://github.com/zkochan/normalize-ssh#readme","dependencies":{"parse-url":"^1.3.5"},"devDependencies":{"tape":"^4.6.3"},"gitHead":"cdc92613e815662b2135b8a5f6da12d7cbf43476","_id":"normalize-ssh@0.0.0","_shasum":"5526327597d767216ec17996122ca5918bf60a4c","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.1","_npmUser":{"name":"zkochan","email":"zoltan.kochan@gmail.com"},"dist":{"shasum":"5526327597d767216ec17996122ca5918bf60a4c","size":1501,"noattachment":false,"key":"/normalize-ssh/-/normalize-ssh-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/normalize-ssh/download/normalize-ssh-0.0.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/normalize-ssh-0.0.0.tgz_1487723948941_0.28471196768805385"},"directories":{},"publish_time":1487723950744,"_cnpm_publish_time":1487723950744,"_hasShrinkwrap":false}},"readme":"# normalize-ssh\n\n> Normalize a SSH URL\n\n[![npm version](https://img.shields.io/npm/v/normalize-ssh.svg)](https://www.npmjs.com/package/normalize-ssh) [![Build Status](https://img.shields.io/travis/zkochan/normalize-ssh/master.svg)](https://travis-ci.org/zkochan/normalize-ssh)\n\n## Installation\n\n```\nnpm i -S normalize-ssh\n```\n\n## Usage\n\n```js\nconst normalizeSshUrl = require('normalize-ssh')\n\nnormalizeSshUrl('git@gitlab.domain.tld:myproject/myrepo.git')\n//> ssh://git@gitlab.domain.tld:22/myproject/myrepo.git\n```\n\n## License\n\n[MIT](LICENSE) © [Zoltan Kochan](http://kochan.io)\n","_attachments":{},"homepage":"https://github.com/zkochan/normalize-ssh#readme","bugs":{"url":"https://github.com/zkochan/normalize-ssh/issues"},"license":"MIT"}