1.0.3 • Published 5 years ago

wait-for-mongodb-slim v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

Wait for mongo to start

Just pass the full uri of the mongodb connection, set the time or use the default.

Install

npm install -g wait-for-mongodb-slim

Usage

wait-for-mongo --uri mongodb://usr:pwd@localhost:27017/nameOfDB --t 2

--t / --time is the interval time to check the connection. (in seconds) --uri is the uri to try to connecto to.

The application will disconnect from mongodb and exit when done.

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago