@types/ps-tree
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

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 23:36:24 GMT
  • Dependencies: none

Credits

These definitions were written by Alessio Paccoia.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/ps-tree

Weekly Downloads

351,491

Version

1.1.6

License

MIT

Unpacked Size

3.23 kB

Total Files

5

Last publish

Collaborators

  • types