1.0.2 • Published 9 years ago

newport v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

Newport Build Status Coverage Status Version License

Find a new port that's available to be used in your program.

Install

$ npm install newport

Usage

var newport = require('newport')

// Get a new port that is available
newport(function(err, port){
  if (err) throw err
  console.log(port)
})

// Check if a port is available
newport(8080, function(err, port){
  if (err) throw err
  console.log(port)
})

License

The MIT License

Copyright (c) 2015 Montana Flynn http://anonfunction.com

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago