This commit is contained in:
NikolajDanger
2023-01-04 13:32:54 +01:00
parent 27bd644a94
commit f9a0c044c0
287 changed files with 28448 additions and 0 deletions

26
Assignment-2/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");
```