parent-process-pid
v1.0.2
Published
Gets parent process pid (PPID).
Downloads
52
Maintainers
Readme
parent-process-pid
Gets parent process id (PPID)
API
parentProcessPid(childPid: number): Promise<number>
EXAMPLE
const getPpid = require('parent-process-pid');
getPpid(2107).then(ppid => console.log(ppid));