-
getPort(port, cb)
-
Quick and dirty way to find an open port number on your localhost. Super small as it doesn't include any huge dependencies like other port finder libs. Inspired by https://gist.github.com/mikeal/1840641
Parameters:
Name Type Argument Description port
Number <optional>
start port, will be increased until an open one is found, when not supplied a random port will be used
cb
function called back with the open port
Maintenance
Commit Frequency
Further analysis of the maintenance status of gport based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Inactive.
An important project maintenance signal to consider for gport is that it hasn't seen any new versions released to npm in the past 12 months, and could be considered as a discontinued project, or that which receives low attention from its maintainers.
In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository.