Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zkochan/normalize-ssh
Normalize a SSH URL
https://github.com/zkochan/normalize-ssh
normalize ssh
Last synced: 28 days ago
JSON representation
Normalize a SSH URL
- Host: GitHub
- URL: https://github.com/zkochan/normalize-ssh
- Owner: zkochan
- License: mit
- Created: 2017-02-22T00:11:36.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-09T22:20:57.000Z (about 7 years ago)
- Last Synced: 2024-10-26T16:53:57.910Z (3 months ago)
- Topics: normalize, ssh
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# normalize-ssh
> Normalize a SSH URL
[![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)
## Installation
```
npm i -S normalize-ssh
```## Usage
```js
const normalizeSshUrl = require('normalize-ssh')normalizeSshUrl('[email protected]:myproject/myrepo.git')
//> ssh://[email protected]:22/myproject/myrepo.git
```## License
[MIT](LICENSE) © [Zoltan Kochan](http://kochan.io)