1.5.3 • Published 7 years ago

wait-for-postgres v1.5.3

Weekly downloads
262
License
-
Repository
github
Last release
7 years ago

Wait for Postgres

Waits for a PostgreSQL connection to become available, optionally running a custom query to determine if the connection is valid.

Installation

npm install --save wait-for-postgres

Usage

Run as a module within another script:

waitForPg = require 'wait-for-postgres'
config =
  username: user
  password: pass
  quiet: true
  query: 'SELECT 1'

waitForPg.wait(config)

Or run stand-alone

wait-for-postgres --username=user --password=pass --quiet

Building

cake build

1.5.3

7 years ago

1.5.2

7 years ago

1.5.1

7 years ago

1.4.0

8 years ago

1.3.0

9 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.0

9 years ago