Share your code. Components are building blocks, you are the architect.

ssh/parse-url
v1.0.0
1.0.0
0.0.1
Contributors
Gravatar for undefined
bit
0
MIT
PUBLIC
1
0     DEPENDENCIES
Build: pass
BuildPass
Build Status: pass
No description added

Please configure Bit as a scoped registry to install components with NPM.Learn more

npm config set @bit:registry https://node.bitsrc.io
Use ssh/parse-url in your project
npm i @bit/bit.utils.ssh.parse-url
Copied

parseUrl (url:string) : object

Argument

url: string

Returns

object

{ host, path, port, username }

Test Summary


${name} the parseUrl function should existPass
${name} parseUrl should get a url - "ssh://user@123.456.678.909:/path/in/scope" and return the parsed version of itPass