node package manager

freeport

Find a free port.

freeport

Find a free port.

freeport(function(err, port) {
  if (err) throw err
  console.log(port)
})