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
A simple Node.js module to check if a TCP port is already bound.
Check whether a package or organization name is available on npm
Get an unused filename by appending a number if it exists: file.txt
→ file (1).txt