Get the pid(s) of a process on a given port
npm install port-pid> Get the pid(s) of the process on a given port.
```
$ npm install --save port-pid
Get all the pids on a given port, or filter by udp (UDP) or tcp (TCP):
`js
const pids = require('port-pid');
pids(8017).then(pids => {
console.log(pids.all);
//=> [1234, 5678]
console.log(pids.tcp);
//=> [1234]
console.log(pids.udp);
//=> [5678]
});
``
MIT © Michael Wuergler