Usage
bin/scan host port timeout
const scan = require('port-scanner-promise');
scan('127.0.0.1', 22, 400)
.then(console.log)
.catch(console.error);
bin/scan host port timeout
const scan = require('port-scanner-promise');
scan('127.0.0.1', 22, 400)
.then(console.log)
.catch(console.error);
npm i port-scanner-promise
1
0.0.6
ISC