parse-rethinkdb-url
Parse RethinkDB URL string into an object ready for consumption by RethinkDB JavaScript API.
Installation
npm install --save parse-rethinkdb-url
Usage
var r = ;var parseRethinkdbUrl = ; var options = ;// { host: 'localhost',// port: 28015,// db: 'marvel',// authKey: 'hunter2' } r;
Please note that when using authentication both username and password must be provided. Username is ignored while password is used as authKey.