An open API service indexing awesome lists of open source software.

https://github.com/unlight/parent-process-pid

Gets parent process id (PPID)
https://github.com/unlight/parent-process-pid

Last synced: 7 months ago
JSON representation

Gets parent process id (PPID)

Awesome Lists containing this project

README

          

# parent-process-pid
Gets parent process id (PPID)

## API
```ts
parentProcessPid(childPid: number): Promise
```

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