{"id":19489405,"url":"https://github.com/1j01/process-tree","last_synced_at":"2025-06-14T10:33:04.704Z","repository":{"id":34746751,"uuid":"38726512","full_name":"1j01/process-tree","owner":"1j01","description":"Node library to find all the child processes","archived":false,"fork":false,"pushed_at":"2016-11-28T05:21:23.000Z","size":3,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-11T19:42:16.124Z","etag":null,"topics":["library","list","list-processes","module","node","node-module","pid","process-children","process-tree","processes","ps","ps-tree","tree","wmic"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/process-tree","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1j01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-08T02:18:26.000Z","updated_at":"2019-08-30T06:48:04.000Z","dependencies_parsed_at":"2022-08-02T23:45:51.001Z","dependency_job_id":null,"html_url":"https://github.com/1j01/process-tree","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/1j01/process-tree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1j01%2Fprocess-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1j01%2Fprocess-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1j01%2Fprocess-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1j01%2Fprocess-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1j01","download_url":"https://codeload.github.com/1j01/process-tree/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1j01%2Fprocess-tree/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259801990,"owners_count":22913548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["library","list","list-processes","module","node","node-module","pid","process-children","process-tree","processes","ps","ps-tree","tree","wmic"],"created_at":"2024-11-10T21:08:26.600Z","updated_at":"2025-06-14T10:33:04.669Z","avatar_url":"https://github.com/1j01.png","language":"CoffeeScript","readme":"\n# process-tree\n\n\u003e like [ps-tree](https://www.npmjs.com/package/ps-tree), but cross-platform, and providing sub-children\n\nGet a tree of processes starting from the children of a given PID.\n\n```js\nrequire(\"process-tree\")(pid, function(err, children){\n\tif(err){\n\t\tconsole.error(err);\n\t}else{\n\t\tconsole.log(JSON.stringify(children, null, 4));\n\t\tconsole.assert(children[0].ppid === pid);\n\t\tconsole.log(children[0].children[0].pid);\n\t\tconsole.log(children[0].name); // \"Name\" from wmic, \"comm\" from ps\n\t}\n});\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1j01%2Fprocess-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1j01%2Fprocess-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1j01%2Fprocess-tree/lists"}