wait-on is a cross-platform command line utility and Node.js API which will wait for files, ports, sockets, and http(s) resources to become available
MIT License
Wait4X allows you to wait for a port or a service to enter the requested state.