npm.io
1.1.6 • Published 2 years ago

@types/ps-tree

Licence
MIT
Version
1.1.6
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.5K

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

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 2324 GMT
  • Dependencies: none

Credits

These definitions were written by Alessio Paccoia.