This commit is contained in:
2024-11-27 15:08:17 +00:00
parent c08cf2d046
commit 0574d9bc7a
298 changed files with 29533 additions and 0 deletions

26
nodeJS/Learning/01/node_modules/pstree.remy/README.md generated vendored Normal file
View File

@@ -0,0 +1,26 @@
# 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");
```