wait-on

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

is-windows

Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.