Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Latest commit

 

History

History
18 lines (9 loc) · 322 Bytes

README.md

File metadata and controls

18 lines (9 loc) · 322 Bytes

node.js network utils

provides:

Find the first free port on the server within the given range:

findFreePort(start, end, hostname, callback)

Check whether the given port is open:

isPortOpen(hostname, port, timeout, callback)

Get the hostname of the current server:

getHostName(callback)