Files
med-notes/.pnpm-store/v10/files/9f/b1e4ed3ff849f956cf2869b2c86918695fc8e2913f84697696d375e061a56368165bc5ac0e2f1a3c531fad42ee9a0389ab851dc525b7341a6070715b8894df
2025-06-26 03:35:15 +00:00

27 lines
421 B
Plaintext

# pstree.remy
> Cross platform ps-tree (including unix flavours without ps)
## Installation
```shel
npm install pstree.remy
```
## Usage
```js
const psTree = psTree require('pstree.remy');
psTree(PID, (err, pids) => {
if (err) {
console.error(err);
}
console.log(pids)
});
console.log(psTree.hasPS
? "This platform has the ps shell command"
: "This platform does not have the ps shell command");
```