waitfor-connection
Promised waiting for host and TCP port to become available. It's like the node
version of the wait-for-it
bash
script — useful for synchronizing the start-up of interdependent services,
such as linked docker containers.
Install
npm install waitfor-connection
Usage
var waitfor = ; return ;
Tests
npm installnpm test