Socket
Book a DemoInstallSign in
Socket

multilevel-connect

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multilevel-connect

Connect to multilevel by an address string

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

multilevel-connect

Connect to multilevel by an address string like user@host:port.

build status

Example

var connect = require('multilevel-connect');

var db = connect('name:julian,pass:private@ghub.io:3001');

db.get('key', function(err, value){
  console.log(value);
});

API

connect(addr)

Connect to the database at addr.

Possible formats for addr:

  • port
  • user@port
  • host:port
  • user@host:port

user is a string or of format key:value,key:value,....

Returns a multilevel client.

Installation

$ npm install multilevel-connect

License

MIT

FAQs

Package last updated on 09 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts