```typescript
import { type Process } from "node:node__process.d.ts";
```
The `process.ppid` property returns the PID of the parent of the
current process.
```js
import { ppid } from 'node:process';
console.log(`The parent process is pid ${ppid}`);
```