node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

freeport

freeport Build Status

Find a free port.

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