README
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);
port scanner
<script type="module">
import portScannerPromise from 'https://cdn.skypack.dev/port-scanner-promise';
</script>
bin/scan host port timeout
const scan = require('port-scanner-promise');
scan('127.0.0.1', 22, 400)
.then(console.log)
.catch(console.error);