![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | lib/ | 2023-10-19 15:45 | - | |
![]() | tests/ | 2023-10-19 15:45 | - | |
![]() | LICENSE | 2023-10-19 15:45 | 1.1K | f0d2fc9 test post-receive hook [كارل مبارك] |
![]() | README.md | 2023-10-19 15:45 | 421 | 15de0e0 styling, texts [كارل مبارك] |
![]() | package.json | 2023-10-19 15:45 | 629 | 120707f added node version q18.16 to dependincies [كارل مبارك] |
# 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"); ```