1.0.1 • Published 9 years ago
influx-connection-url-parser v1.0.1
influx-connection-url-parser
A parser for influx connection strings represented as a URL.
Usage
var ret = parse( 'http://user:pass@test.influx.com:333/test' );
{
protocol: 'http',
host: 'test.influx.com',
port: 333,
username: 'user',
password: 'pass',
database: 'test'
}