https://github.com/serapath/findport
find a free port on local system
https://github.com/serapath/findport
Last synced: 1 day ago
JSON representation
find a free port on local system
- Host: GitHub
- URL: https://github.com/serapath/findport
- Owner: serapath
- License: mit
- Created: 2017-01-17T23:08:39.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-17T23:11:03.000Z (over 9 years ago)
- Last Synced: 2025-03-16T04:12:34.673Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/findport
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# findport
find a free port on local system
# usage
`npm install findport`
```js
var findport = require('findport')
findport(function (err, port) {
if (err) throw err
console.log(port)
})
```