@types/ps-tree
Version:
TypeScript definitions for ps-tree
38 lines (29 loc) • 944 B
Markdown
> `npm install --save @types/ps-tree`
This package contains type definitions for ps-tree (https://github.com/indexzero/ps-tree).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ps-tree.
````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;
````
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT
* Dependencies: none
These definitions were written by [Alessio Paccoia](https://github.com/alessiopcc).