get-unused-port-in-list Stability: 2 - Stable Description Run through a list of TCP ports and return one that is not busy Usage require('get-unused-port-in-list')([7000, 8000, 9000]) .then((unusedPort) => { // unusedPort port is free (first caught) }) .catch(() => { // All ports are busy })