Détail du package

parent-process-pid

unlight147Xnet1.0.2

Gets parent process pid (PPID).

process, ppid, pid, child

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));