Skip to content

unlight/parent-process-pid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Gets parent process id (PPID)

Resources

Stars

Watchers

Forks

Packages

No packages published