@ryanburnette/parse-mysql-url
v1.1.0
Published
Parse MySQL database URL into an object.
Downloads
5
Readme
parse-mysql-url
Parse MySQL database URL into an object.
Usage
var parse = require('@ryanburnette/parse-mysql-url');
console.log(parse('mysql://username:password@host:port/name'));
// {
// username: 'username',
// password: 'password',
// host: 'host',
// port: 'port',
// name: 'name'
// };