This project is inspired from famous repository
(need clone)
# setup
npm install
# launch sample
node samples/basic.js
to use this library
import checkPort from "@boly38/check-port"
Example to set up a port listener
npm i http
node.exe -e "require('http').createServer((req, res) => res.end('Hello World')).listen(44204, () => console.log('Listening on port 44204'))"