@mikeyt23/node-cli-utils
    Preparing search index...

    Function isPortAvailable

    • Tries connecting to a port to see if it's being listened on or not. It's likely that this won't work in a lot of scenarios, so use it at your own risk.

      Parameters

      • port: number

        The port to check

      Returns Promise<boolean>

      true if the port is available, false otherwise