README
port-checker
Installation
npm i -S port-checker
Example
//import portChecker
const portChecker = require("port-checker");
// run it
(async () => {
const val = await portChecker({ host: "www.google.com", port: 80 });
// val === true
console.log(val);
})();
License
WTFPL © Michael Rowlinson