Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 858 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 858 Bytes

pg-connection-string

NPM

Build Status Coverage Status

Functions for dealing with a PostgresSQL connection string

parse method taken from node-postgres Copyright (c) 2010-2014 Brian Carlson ([email protected]) MIT License

Usage

var parse = require('pg-connection-string').parse;

var config = parse('postgres://someuser:somepassword@somehost:381/somedatabase')