parent-process-pid

1.0.2 • Public • Published

parent-process-pid

Gets parent process id (PPID)

API

parentProcessPid(childPidnumber)Promise<number>

EXAMPLE

const getPpid = require('parent-process-pid');
getPpid(2107).then(ppid => console.log(ppid));

Package Sidebar

Install

npm i parent-process-pid

Weekly Downloads

22

Version

1.0.2

License

Xnet

Last publish

Collaborators

  • iamthes