Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
index.js
package.json

README.md

DSN Parser

Supports MySQL (mysql:) and Postgresql (pgsql:) schemes.

DSNs are a scheme, followed by semicolon (;), or, for command-line convenience, colon-separated (:) parameters in the form of key=value.

Valid parameters are host, port, dbname, user and password, and additionally username is accepted as a synonym for user.

All parameters are set as properties on the DSN object, except dbname is exposed as database.

Something went wrong with that request. Please try again.