UNPKG

@types/ps-tree

Version:
38 lines (29 loc) 944 B
# Installation > `npm install --save @types/ps-tree` # Summary This package contains type definitions for ps-tree (https://github.com/indexzero/ps-tree). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ps-tree. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ps-tree/index.d.ts) ````ts declare namespace ps_tree { interface PS { COMMAND: string; PPID: string; PID: string; STAT: string; } const prototype: {}; } declare function ps_tree( pid: number, callback: (error: Error | null, children: readonly ps_tree.PS[]) => void, ): void; export as namespace ps_tree; export = ps_tree; ```` ### Additional Details * Last updated: Mon, 20 Nov 2023 23:36:24 GMT * Dependencies: none # Credits These definitions were written by [Alessio Paccoia](https://github.com/alessiopcc).