1.1.4 • Published 1 year ago
processp-tree-info v1.1.4
process-tree
Install
npm i processp-tree-info
Usage
const {getProcessTree, getAllProcess} = require("processp-tree-info")
;(async function() {
console.log(await getAllProcess())
console.log(await getProcessTree(process.pid))
})()