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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i parent-process-pid

    Weekly Downloads

    21

    Version

    1.0.2

    License

    Xnet

    Last publish

    Collaborators

    • iamthes