1 | pg-connection-string
|
2 | ====================
|
3 |
|
4 | [![Build Status](https://travis-ci.org/iceddev/pg-connection-string.svg?branch=master)](https://travis-ci.org/iceddev/pg-connection-string)
|
5 |
|
6 | Functions for dealing with a PostgresSQL connection string
|
7 |
|
8 | `parse` method taken from [node-postgres](https://github.com/brianc/node-postgres.git)
|
9 | Copyright (c) 2010-2014 Brian Carlson (brian.m.carlson@gmail.com)
|
10 | MIT License
|
11 |
|
12 | ## Usage
|
13 |
|
14 | ```js
|
15 | var parse = require('pg-connection-string').parse;
|
16 |
|
17 | var config = parse('postgres://someuser:somepassword@somehost:381/sometable')
|
18 | ```
|