1.0.2 • Published 8 years ago
parent-process-pid v1.0.2
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));