{"_id":"pidtree","_rev":"2778595","name":"pidtree","description":"Cross platform children list of a PID","dist-tags":{"latest":"0.6.0"},"maintainers":[{"name":"simonepri","email":"simone.pri@hotmail.it"}],"time":{"modified":"2022-06-06T08:20:35.000Z","created":"2018-03-19T03:36:56.777Z","0.6.0":"2022-06-05T18:35:44.206Z","0.5.0":"2020-04-13T19:13:24.942Z","0.4.0":"2020-03-26T23:19:45.751Z","0.3.1":"2020-03-26T23:14:09.131Z","0.3.0":"2018-03-20T16:35:37.989Z","0.2.0":"2018-03-19T12:22:32.683Z","0.1.4":"2018-03-19T11:04:28.037Z","0.1.3":"2018-03-19T09:24:30.564Z","0.1.2":"2018-03-19T09:16:00.821Z","0.1.1":"2018-03-19T03:36:56.777Z"},"users":{},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"},"repository":{"type":"git","url":"git+https://github.com/simonepri/pidtree.git"},"versions":{"0.6.0":{"name":"pidtree","version":"0.6.0","description":"Cross platform children list of a PID","license":"MIT","homepage":"http://github.com/simonepri/pidtree#readme","repository":{"type":"git","url":"git+https://github.com/simonepri/pidtree.git"},"bugs":{"url":"https://github.com/simonepri/pidtree/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"}],"keywords":["ps-tree","ps","tree","ppid","pid","pidtree","pgrep","list","all","system","process","processes"],"main":"index.js","types":"index.d.ts","bin":{"pidtree":"bin/pidtree.js"},"engines":{"node":">=0.10"},"scripts":{"start":"node ./bin/pidtree.js","update":"npm-check -u","release":"np","lint":"xo","test":"nyc ava -m \"!*benchmark*\"","test:windows":"ava -m \"!*benchmark*\"","types":"tsd","bench":"ava -m \"*benchmark*\""},"devDependencies":{"ava":"~0.25.0","mockery":"^2.1.0","np":"^2.20.1","npm-check":"^5.9.2","nyc":"^11.6.0","pify":"^3.0.0","string-to-stream":"^1.1.0","through":"^2.3.8","time-span":"^2.0.0","tree-kill":"^1.1.0","tsd":"^0.11.0","xo":"~0.20.3"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true,"rules":{"prefer-destructuring":0,"prefer-arrow-callback":0,"no-var":0,"object-shorthand":0,"unicorn/no-for-loop":0,"unicorn/prefer-string-slice":0,"unicorn/string-content":0}},"gitHead":"f0538145ae3966aca3e8a339fb24bb2118579df4","_id":"pidtree@0.6.0","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"90ad7b6d42d5841e69e0a2419ef38f8883aa057c","size":7276,"noattachment":false,"key":"/pidtree/-/pidtree-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pidtree/download/pidtree-0.6.0.tgz"},"_npmUser":{"name":"simonepri","email":"simone.primarosa@gmail.com"},"directories":{},"maintainers":[{"name":"simonepri","email":"simone.pri@hotmail.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pidtree_0.6.0_1654454144072_0.04881872597802617"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-05T18:35:51.388Z","publish_time":1654454144206,"_cnpm_publish_time":1654454144206},"0.5.0":{"name":"pidtree","version":"0.5.0","description":"Cross platform children list of a PID","license":"MIT","homepage":"http://github.com/simonepri/pidtree#readme","repository":{"type":"git","url":"git+https://github.com/simonepri/pidtree.git"},"bugs":{"url":"https://github.com/simonepri/pidtree/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"}],"keywords":["ps-tree","ps","tree","ppid","pid","pidtree","pgrep","list","all","system","process","processes"],"main":"index.js","types":"index.d.ts","bin":{"pidtree":"bin/pidtree.js"},"engines":{"node":">=0.10"},"scripts":{"start":"node ./bin/pidtree.js","update":"npm-check -u","release":"np","lint":"xo","test":"nyc ava -m \"!*benchmark*\"","types":"tsd","bench":"ava -m \"*benchmark*\"","coverage":"codecov"},"devDependencies":{"ava":"~0.25.0","codecov":"^3.6.5","mockery":"^2.1.0","np":"^2.20.1","npm-check":"^5.9.2","nyc":"^11.6.0","pify":"^3.0.0","string-to-stream":"^1.1.0","through":"^2.3.8","time-span":"^2.0.0","tree-kill":"^1.1.0","tsd":"^0.11.0","xo":"~0.20.3"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true,"rules":{"prefer-destructuring":0,"prefer-arrow-callback":0,"no-var":0,"object-shorthand":0,"unicorn/no-for-loop":0,"unicorn/prefer-string-slice":0,"unicorn/string-content":0}},"gitHead":"42ccacb446d8376fe666d24ed81f686069d6ecff","_id":"pidtree@0.5.0","_nodeVersion":"13.11.0","_npmVersion":"6.14.4","dist":{"shasum":"ad5fbc1de78b8a5f99d6fbdd4f6e4eee21d1aca1","size":7015,"noattachment":false,"key":"/pidtree/-/pidtree-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pidtree/download/pidtree-0.5.0.tgz"},"maintainers":[{"name":"simonepri","email":"simone.pri@hotmail.it"}],"_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pidtree_0.5.0_1586805204709_0.14694612808741137"},"_hasShrinkwrap":false,"publish_time":1586805204942,"_cnpm_publish_time":1586805204942},"0.4.0":{"name":"pidtree","version":"0.4.0","description":"Cross platform children list of a PID","license":"MIT","homepage":"http://github.com/simonepri/pidtree#readme","repository":{"type":"git","url":"git+https://github.com/simonepri/pidtree.git"},"bugs":{"url":"https://github.com/simonepri/pidtree/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"}],"keywords":["ps-tree","ps","tree","ppid","pid","pidtree","pgrep","list","all","system","process","processes"],"main":"index.js","types":"index.d.ts","bin":{"pidtree":"bin/pidtree.js"},"engines":{"node":">=0.10"},"scripts":{"start":"node ./bin/pidtree.js","update":"npm-check -u","release":"np","lint":"xo","test":"nyc ava -m \"!*benchmark*\"","types":"tsd","bench":"ava -m \"*benchmark*\"","coverage":"codecov"},"devDependencies":{"ava":"~0.25.0","codecov":"^3.6.5","mockery":"^2.1.0","np":"^2.20.1","npm-check":"^5.9.2","nyc":"^11.6.0","pify":"^3.0.0","string-to-stream":"^1.1.0","through":"^2.3.8","time-span":"^2.0.0","tree-kill":"^1.1.0","tsd":"^0.11.0","xo":"~0.20.3"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true,"rules":{"prefer-destructuring":0,"prefer-arrow-callback":0,"no-var":0,"object-shorthand":0,"unicorn/no-for-loop":0,"unicorn/prefer-string-slice":0,"unicorn/string-content":0}},"gitHead":"9778ce346759e0e271aa8ddb06da962b16c873c9","_id":"pidtree@0.4.0","_nodeVersion":"13.11.0","_npmVersion":"6.14.4","dist":{"shasum":"d08edab26f3a608505b645b132079ef980bf4bf3","size":7018,"noattachment":false,"key":"/pidtree/-/pidtree-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pidtree/download/pidtree-0.4.0.tgz"},"maintainers":[{"name":"simonepri","email":"simone.pri@hotmail.it"}],"_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pidtree_0.4.0_1585264785585_0.2542855684647085"},"_hasShrinkwrap":false,"publish_time":1585264785751,"_cnpm_publish_time":1585264785751},"0.3.1":{"name":"pidtree","version":"0.3.1","description":"Cross platform children list of a PID","license":"MIT","homepage":"http://github.com/simonepri/pidtree#readme","repository":{"type":"git","url":"git+https://github.com/simonepri/pidtree.git"},"bugs":{"url":"https://github.com/simonepri/pidtree/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"}],"keywords":["ps-tree","ps","tree","ppid","pid","pidtree","pgrep","list","all","system","process","processes"],"main":"index.js","bin":{"pidtree":"bin/pidtree.js"},"engines":{"node":">=0.10"},"scripts":{"start":"node ./bin/pidtree.js","update":"npm-check -u","release":"np","lint":"xo","test":"nyc ava -m \"!*benchmark*\"","bench":"ava -m \"*benchmark*\"","coverage":"codecov"},"devDependencies":{"ava":"~0.25.0","codecov":"^3.6.5","mockery":"^2.1.0","np":"^2.20.1","npm-check":"^5.9.2","nyc":"^11.6.0","pify":"^3.0.0","string-to-stream":"^1.1.0","through":"^2.3.8","time-span":"^2.0.0","tree-kill":"^1.1.0","xo":"~0.20.3"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true,"rules":{"prefer-destructuring":0,"prefer-arrow-callback":0,"no-var":0,"object-shorthand":0,"unicorn/no-for-loop":0,"unicorn/prefer-string-slice":0,"unicorn/string-content":0}},"gitHead":"d9834cd6eb736bbc6490833adb074c456fce9587","_id":"pidtree@0.3.1","_nodeVersion":"13.11.0","_npmVersion":"6.14.4","dist":{"shasum":"ef09ac2cc0533df1f3250ccf2c4d366b0d12114a","size":6680,"noattachment":false,"key":"/pidtree/-/pidtree-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pidtree/download/pidtree-0.3.1.tgz"},"maintainers":[{"name":"simonepri","email":"simone.pri@hotmail.it"}],"_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pidtree_0.3.1_1585264449007_0.08915524605096392"},"_hasShrinkwrap":false,"publish_time":1585264449131,"_cnpm_publish_time":1585264449131},"0.3.0":{"name":"pidtree","version":"0.3.0","description":"Cross platform children list of a PID","license":"MIT","homepage":"http://github.com/simonepri/pidtree#readme","repository":{"type":"git","url":"git+https://github.com/simonepri/pidtree.git"},"bugs":{"url":"https://github.com/simonepri/pidtree/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"}],"keywords":["ps-tree","ps","tree","ppid","pid","pidtree","pgrep","list","all","system","process","processes"],"main":"index.js","bin":{"pidtree":"./bin/pidtree.js"},"files":["bin","lib","index.js"],"engines":{"node":">=0.10"},"scripts":{"start":"node ./bin/pidtree.js","update":"npm-check -u","release":"np","lint":"xo","test":"npm run lint&& nyc ava -m \"!*benchmark*\"","bench":"ava -m \"*benchmark*\"","coverage":"codecov"},"devDependencies":{"ava":"*","codecov":"*","mockery":"^2.1.0","np":"*","npm-check":"*","nyc":"*","pify":"^3.0.0","string-to-stream":"^1.1.0","through":"^2.3.8","time-span":"^2.0.0","tree-kill":"^1.1.0","xo":"*"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true,"rules":{"prefer-arrow-callback":0,"no-var":0,"object-shorthand":0}},"gitHead":"b38c197597fc0f5c8e8a771e14dcee133558e504","_id":"pidtree@0.3.0","_npmVersion":"5.7.1","_nodeVersion":"8.9.4","_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"dist":{"shasum":"f6fada10fccc9f99bf50e90d0b23d72c9ebc2e6b","size":6479,"noattachment":false,"key":"/pidtree/-/pidtree-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pidtree/download/pidtree-0.3.0.tgz"},"maintainers":[{"name":"simonepri","email":"simone.pri@hotmail.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pidtree_0.3.0_1521563737873_0.0031888813645817304"},"_hasShrinkwrap":false,"publish_time":1521563737989,"_cnpm_publish_time":1521563737989},"0.2.0":{"name":"pidtree","version":"0.2.0","description":"Cross platform children list of a PID","license":"MIT","homepage":"http://github.com/simonpri/pidtree#readme","repository":{"type":"git","url":"git+https://github.com/simonpri/pidtree.git"},"bugs":{"url":"https://github.com/simonpri/pidtree/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"}],"keyboards":["ps-tree","ps","tree","ppid","pid","pidtree","pgrep","list","all","system","process","processes"],"main":"index.js","bin":{"pidtree":"./bin/pidtree.js"},"files":["bin","lib","index.js"],"engines":{"node":">=0.10"},"scripts":{"start":"node ./bin/pidtree.js","update":"npm-check -u","release":"np","lint":"xo","test":"npm run lint&& nyc ava -m \"!*benchmark*\"","bench":"ava -m \"*benchmark*\""},"devDependencies":{"ava":"*","mockery":"^2.1.0","np":"*","npm-check":"*","nyc":"*","pify":"^3.0.0","string-to-stream":"^1.1.0","through":"^2.3.8","time-span":"^2.0.0","tree-kill":"^1.1.0","xo":"*"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true,"rules":{"prefer-arrow-callback":0,"no-var":0}},"gitHead":"ce34172c3b5c9681ac145222d09bc42467613e72","_id":"pidtree@0.2.0","_npmVersion":"5.7.1","_nodeVersion":"8.9.4","_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"dist":{"shasum":"17d63eb39009eb0a864dd2e153dfb1dd40e38b64","size":5326,"noattachment":false,"key":"/pidtree/-/pidtree-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pidtree/download/pidtree-0.2.0.tgz"},"maintainers":[{"name":"simonepri","email":"simone.pri@hotmail.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pidtree_0.2.0_1521462152494_0.2637349888828089"},"_hasShrinkwrap":false,"publish_time":1521462152683,"_cnpm_publish_time":1521462152683},"0.1.4":{"name":"pidtree","version":"0.1.4","description":"Cross platform children list of a PID","license":"MIT","homepage":"http://github.com/simonpri/pidtree#readme","repository":{"type":"git","url":"git+https://github.com/simonpri/pidtree.git"},"bugs":{"url":"https://github.com/simonpri/pidtree/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"}],"keyboards":["ps-tree","ps","tree","ppid","pid","pidtree","pgrep","list","all","system","process","processes"],"main":"index.js","bin":{"pidtree":"./bin/pidtree.js"},"files":["bin","lib","index.js"],"engines":{"node":">=0.10"},"scripts":{"start":"node ./bin/pidtree.js","update":"npm-check -u","release":"np","lint":"xo","test":"npm run lint&& nyc ava -m \"!*benchmark*\"","bench":"ava -m \"*benchmark*\""},"devDependencies":{"ava":"*","mockery":"^2.1.0","np":"*","npm-check":"*","nyc":"*","pify":"^3.0.0","string-to-stream":"^1.1.0","through":"^2.3.8","time-span":"^2.0.0","tree-kill":"^1.1.0","xo":"*"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true,"rules":{"prefer-arrow-callback":0,"no-var":0}},"gitHead":"2984c31b9336ce77acdc1a15ad054ee76c8cd9d3","_id":"pidtree@0.1.4","_npmVersion":"5.7.1","_nodeVersion":"8.9.4","_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"dist":{"shasum":"9a44f82e9fba68fb082634a2acb93b6d51c0fd8d","size":5325,"noattachment":false,"key":"/pidtree/-/pidtree-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/pidtree/download/pidtree-0.1.4.tgz"},"maintainers":[{"name":"simonepri","email":"simone.pri@hotmail.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pidtree_0.1.4_1521457467965_0.6950929430935555"},"_hasShrinkwrap":false,"publish_time":1521457468037,"_cnpm_publish_time":1521457468037},"0.1.3":{"name":"pidtree","version":"0.1.3","description":"Cross platform children list of a PID","license":"MIT","homepage":"http://github.com/simonpri/pidtree#readme","repository":{"type":"git","url":"git+https://github.com/simonpri/pidtree.git"},"bugs":{"url":"https://github.com/simonpri/pidtree/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"}],"keyboards":["ps-tree","ps","tree","ppid","pid","pidtree"],"main":"index.js","bin":{"pidtree":"./bin/pidtree.js"},"files":["bin","lib","index.js"],"engines":{"node":">=0.10"},"scripts":{"start":"node ./bin/pidtree.js","update":"npm-check -u","release":"np","lint":"xo","test":"npm run lint&& nyc ava -m \"!*benchmark*\"","bench":"ava -m \"*benchmark*\""},"devDependencies":{"ava":"*","mockery":"^2.1.0","np":"*","npm-check":"*","nyc":"*","pify":"^3.0.0","string-to-stream":"^1.1.0","through":"^2.3.8","time-span":"^2.0.0","tree-kill":"^1.1.0","xo":"*"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true,"rules":{"prefer-arrow-callback":0,"no-var":0}},"gitHead":"afa1a9156c31e8add8b7440cf99011dbde3977b2","_id":"pidtree@0.1.3","_npmVersion":"5.7.1","_nodeVersion":"8.9.4","_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"dist":{"shasum":"ff56aaacbf2fb949407826eaf1033d98a405cedb","size":5091,"noattachment":false,"key":"/pidtree/-/pidtree-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/pidtree/download/pidtree-0.1.3.tgz"},"maintainers":[{"name":"simonepri","email":"simone.pri@hotmail.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pidtree_0.1.3_1521451470522_0.44514729868167646"},"_hasShrinkwrap":false,"publish_time":1521451470564,"_cnpm_publish_time":1521451470564},"0.1.2":{"name":"pidtree","version":"0.1.2","description":"Cross platform children list of a PID","license":"MIT","homepage":"http://github.com/simonpri/pidtree#readme","repository":{"type":"git","url":"git+https://github.com/simonpri/pidtree.git"},"bugs":{"url":"https://github.com/simonpri/pidtree/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"}],"keyboards":["ps-tree","ps","tree","ppid","pid","pidtree"],"main":"index.js","bin":{"pidtree":"./bin/pidtree.js"},"files":["bin","lib","index.js"],"engines":{"node":">=0.10"},"scripts":{"start":"node ./bin/pidtree.js","update":"npm-check -u","release":"np","lint":"xo","test":"npm run lint&& nyc ava -m \"!*benchmark*\"","bench":"ava -m \"*benchmark*\""},"devDependencies":{"ava":"*","mockery":"^2.1.0","np":"*","npm-check":"*","nyc":"*","pify":"^3.0.0","string-to-stream":"^1.1.0","through":"^2.3.8","time-span":"^2.0.0","tree-kill":"^1.1.0","xo":"*"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true,"rules":{"prefer-arrow-callback":0,"no-var":0}},"gitHead":"7df78b353115ff9480565fa5b0abd0b90d108ba4","_id":"pidtree@0.1.2","_npmVersion":"5.7.1","_nodeVersion":"8.9.4","_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"dist":{"shasum":"0911a517eb082c002914a984c5622247786ef6c3","size":5060,"noattachment":false,"key":"/pidtree/-/pidtree-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pidtree/download/pidtree-0.1.2.tgz"},"maintainers":[{"name":"simonepri","email":"simone.pri@hotmail.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pidtree_0.1.2_1521450960779_0.06898880572103905"},"_hasShrinkwrap":false,"publish_time":1521450960821,"_cnpm_publish_time":1521450960821},"0.1.1":{"name":"pidtree","version":"0.1.1","description":"Cross platform children list of a PID","license":"MIT","homepage":"http://github.com/simonpri/pidtree#readme","repository":{"type":"git","url":"git+https://github.com/simonpri/pidtree.git"},"bugs":{"url":"https://github.com/simonpri/pidtree/issues","email":"simonepri@outlook.com"},"author":{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"},"contributors":[{"name":"Simone Primarosa","email":"simonepri@outlook.com","url":"https://github.com/simonepri"}],"keyboards":["ps-tree","ps","tree","ppid","pid","pidtree"],"main":"index.js","bin":{"pidtree":"./bin/pidtree.js"},"files":["bin","index.js"],"engines":{"node":">=0.10"},"scripts":{"update":"npm-check -u","release":"np","lint":"xo","test":"npm run lint&& nyc ava -m \"!*benchmark*\"","bench":"ava -m \"*benchmark*\""},"devDependencies":{"ava":"*","mockery":"^2.1.0","np":"*","npm-check":"*","nyc":"*","pify":"^3.0.0","string-to-stream":"^1.1.0","through":"^2.3.8","time-span":"^2.0.0","tree-kill":"^1.1.0","xo":"*"},"ava":{"verbose":true},"nyc":{"reporter":["lcovonly","text"]},"xo":{"prettier":true,"space":true,"rules":{"prefer-arrow-callback":0,"no-var":0}},"gitHead":"b5e442c0bc0e1535e8f2443041e29d2e71602ae4","_id":"pidtree@0.1.1","_npmVersion":"5.7.1","_nodeVersion":"8.9.4","_npmUser":{"name":"simonepri","email":"simonepri@outlook.com"},"dist":{"shasum":"fc11f3a7153b57afe1d61c66659b111f59e7cee8","size":3371,"noattachment":false,"key":"/pidtree/-/pidtree-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pidtree/download/pidtree-0.1.1.tgz"},"maintainers":[{"name":"simonepri","email":"simone.pri@hotmail.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pidtree_0.1.1_1521430616725_0.28021838554744694"},"_hasShrinkwrap":false,"publish_time":1521430616777,"_cnpm_publish_time":1521430616777}},"readme":"<h1 align=\"center\">\n  <b>pidtree</b>\n</h1>\n<p align=\"center\">\n  <!-- Version - npm -->\n  <a href=\"https://www.npmjs.com/package/pidtree\">\n    <img src=\"https://img.shields.io/npm/v/pidtree.svg\" alt=\"Latest version on npm\" />\n  </a>\n  <!-- Downloads - npm -->\n  <a href=\"https://npm-stat.com/charts.html?package=pidtree\">\n    <img src=\"https://img.shields.io/npm/dt/pidtree.svg\" alt=\"Downloads on npm\" />\n  </a>\n  <!-- License - MIT -->\n  <a href=\"https://github.com/simonepri/pidtree/tree/master/license\">\n    <img src=\"https://img.shields.io/github/license/simonepri/pidtree.svg\" alt=\"Project license\" />\n  </a>\n\n  <br/>\n\n  <!-- Lint -->\n  <a href=\"https://github.com/simonepri/pidtree/actions?query=workflow:lint+branch:master\">\n    <img src=\"https://github.com/simonepri/pidtree/workflows/lint/badge.svg?branch=master\" alt=\"Lint status\" />\n  </a>\n  <!-- Test - macOS -->\n  <a href=\"https://github.com/simonepri/pidtree/actions?query=workflow:test-macos+branch:master\">\n    <img src=\"https://github.com/simonepri/pidtree/workflows/test-macos/badge.svg?branch=master\" alt=\"Test macOS status\" />\n  </a>\n  <!-- Test - Ubuntu -->\n  <a href=\"https://github.com/simonepri/pidtree/actions?query=workflow:test-ubuntu+branch:master\">\n    <img src=\"https://github.com/simonepri/pidtree/workflows/test-ubuntu/badge.svg?branch=master\" alt=\"Test Ubuntu status\" />\n  </a>\n  <!-- Test - Windows -->\n  <a href=\"https://github.com/simonepri/pidtree/actions?query=workflow:test-windows+branch:master\">\n    <img src=\"https://github.com/simonepri/pidtree/workflows/test-windows/badge.svg?branch=master\" alt=\"Test Windows status\" />\n  </a>\n  <!-- Coverage - Codecov -->\n  <a href=\"https://codecov.io/gh/simonepri/pidtree\">\n    <img src=\"https://img.shields.io/codecov/c/github/simonepri/pidtree/master.svg\" alt=\"Codecov Coverage report\" />\n  </a>\n  <!-- DM - Snyk -->\n  <a href=\"https://snyk.io/test/github/simonepri/pidtree?targetFile=package.json\">\n    <img src=\"https://snyk.io/test/github/simonepri/pidtree/badge.svg?targetFile=package.json\" alt=\"Known Vulnerabilities\" />\n  </a>\n\n  <br/>\n\n  <!-- Code Style - XO-Prettier -->\n  <a href=\"https://github.com/xojs/xo\">\n    <img src=\"https://img.shields.io/badge/code_style-XO+Prettier-5ed9c7.svg\" alt=\"XO Code Style used\" />\n  </a>\n  <!-- Test Runner - AVA -->\n  <a href=\"https://github.com/avajs/ava\">\n    <img src=\"https://img.shields.io/badge/test_runner-AVA-fb3170.svg\" alt=\"AVA Test Runner used\" />\n  </a>\n  <!-- Test Coverage - Istanbul -->\n  <a href=\"https://github.com/istanbuljs/nyc\">\n    <img src=\"https://img.shields.io/badge/test_coverage-NYC-fec606.svg\" alt=\"Istanbul Test Coverage used\" />\n  </a>\n  <!-- Init - ni -->\n  <a href=\"https://github.com/simonepri/ni\">\n    <img src=\"https://img.shields.io/badge/initialized_with-ni-e74c3c.svg\" alt=\"NI Scaffolding System used\" />\n  </a>\n  <!-- Release - np -->\n  <a href=\"https://github.com/sindresorhus/np\">\n    <img src=\"https://img.shields.io/badge/released_with-np-6c8784.svg\" alt=\"NP Release System used\" />\n  </a>\n</p>\n<p align=\"center\">\n  ???? Cross platform children list of a PID.\n\n  <br/>\n\n  <sub>\n    Coded with ❤️ by <a href=\"#authors\">Simone Primarosa</a>.\n  </sub>\n</p>\n\n## Synopsis\n\nThis package is really similar to [ps-tree][gh:ps-tree] but is faster, safer and\nprovides sub-children results.  \nFurthermore ps-tree is [unmaintained][gh:ps-tree-um].\n\nUuh, and a fancy [CLI](#cli) is also available!\n\n## Usage\n\n```js\nvar pidtree = require('pidtree')\n\n// Get childs of current process\npidtree(process.pid, function (err, pids) {\n  console.log(pids)\n  // => []\n})\n\n// Include the given pid in the result array\npidtree(process.pid, {root: true}, function (err, pids) {\n  console.log(pids)\n  // => [727]\n})\n\n// Get all the processes of the System (-1 is a special value of this package)\npidtree(-1, function (err, pids) {\n  console.log(pids)\n  // => [530, 42, ..., 41241]\n})\n\n// Include PPID in the results\npidtree(1, {advanced: true}, function (err, pids) {\n  console.log(pids)\n  // => [{ppid: 1, pid: 530}, {ppid: 1, pid: 42}, ..., {ppid: 1, pid: 41241}]\n})\n\n// If no callback is given it returns a promise instead\nconst pids = await pidtree(1)\nconsole.log(pids)\n// => [141, 42, ..., 15242]\n```\n\n## Compatibility\n\n| Linux | FreeBSD | NetBSD | SunOS | macOS | Win | AIX |\n| --- | --- | --- | --- | --- | --- | --- |\n| ✅ | ❓ | ❓ | ❓ | ✅ | ✅ | ❓ |\n\n✅ = Working\n❓ = Not tested but should work\n\nPlease if your platform is not supported [file an issue][new issue].\n\n## CLI\n\n<img src=\"https://github.com/simonepri/pidtree/raw/master/media/cli.gif\" alt=\"pidtree cli\" width=\"300\" align=\"right\"/>\nShow a tree of the processes inside your system inside your terminal.\n\n```bash\nnpx pidtree $PPID\n```\nJust replace `$PPID` with one of the pids inside your system.\n\nOr don't pass anything if you want all the pids inside your system.\n\n```bash\nnpx pidtree\n```\n\nTo display the output as a list, similar to the one produced from `pgrep -P $PID`,\npass the `--list` flag.\n\n```bash\nnpx pidtree --list\n```\n\n## API\n\n<a name=\"pidtree\"></a>\n\n## pidtree(pid, [options], [callback]) ⇒ <code>[Promise.&lt;Array.&lt;Object&gt;&gt;]</code>\nGet the list of children pids of the given pid.\n\n**Kind**: global function  \n**Returns**: <code>Promise.&lt;Array.&lt;Object&gt;&gt;</code> - Only when the callback is not provided.  \n**Access**: public  \n\n| Param | Type | Default | Description |\n| --- | --- | --- | --- |\n| pid | <code>Number</code> \\| <code>String</code> |  | A pid. If -1 will return all the pids. |\n| [options] | <code>Object</code> |  | Optional options object. |\n| [options.root] | <code>Boolean</code> | <code>false</code> | Include the provided pid in the list. Ignored if -1 is passed as pid. |\n| [callback] | <code>function</code> |  | Called when the list is ready. If not provided a promise is returned instead. |\n\n## Related\n\n- [pidusage][gh:pidusage] -\nCross-platform process cpu % and memory usage of a PID\n\n## Authors\n\n- **Simone Primarosa** - [simonepri][github:simonepri]\n\nSee also the list of [contributors][contributors] who participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [license][license] file for details.\n\n<!-- Links -->\n[new issue]: https://github.com/simonepri/pidtree/issues/new\n[license]: https://github.com/simonepri/pidtree/tree/master/license\n[contributors]: https://github.com/simonepri/pidtree/contributors\n\n[github:simonepri]: https://github.com/simonepri\n\n[gh:pidusage]: https://github.com/soyuka/pidusage\n[gh:ps-tree]: https://github.com/indexzero/ps-tree\n[gh:ps-tree-um]: https://github.com/indexzero/ps-tree/issues/30\n","_attachments":{},"homepage":"http://github.com/simonepri/pidtree#readme","bugs":{"url":"https://github.com/simonepri/pidtree/issues","email":"simonepri@outlook.com"},"license":"MIT"}