gport
v1.1.1
Published
Gets the next available port on your localhost starting from the given port number.
Downloads
12
Maintainers
Readme
gport
Gets the next available port on your localhost starting from the given port number.
const getPort = require('gport')
const http = require('http')
getPort(check)
function check(port) {
console.log(port) // some available port
}
Installation
npm install gport
API
generated with docme
License
MIT