connexion-string

0.1.2 • Public • Published
var ConnStr = require('connexion-string')


var connStr = new ConnStr({
  user: 'user', // default user
  port: 22 // default port
})


connStr.parse('myName:123456@127.0.0.1:2222')
{
  host: '127.0.0.1'
  port: 2222,
  user: 'myName',
  password: '123456'
}

Readme

Keywords

none

Package Sidebar

Install

npm i connexion-string

Weekly Downloads

1

Version

0.1.2

License

ISC

Last publish

Collaborators

  • nherment