@types/taskkill
TypeScript definitions for taskkill
Last updated 3 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/taskkill 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/taskkill

Summary

This package contains type definitions for taskkill (https://github.com/sindresorhus/taskkill#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/taskkill.

index.d.ts

/**
 * Kill asynchronously.
 * @async
 * @param input
 * @param [options]
 */
export function taskkill(input: Input, options?: Options): Promise<void>;

/**
 * Kill synchronously.
 * @param input
 * @param [options]
 */
export function taskkillSync(input: Input, options?: Options): void;

/**
 * One or more process IDs or image names, but not mixed.
 */
export type Input = string | string[] | number | number[];

export interface Options {
    /**
     * Name or IP address of a remote computer (do not use backslashes).
     * The default is the local computer.
     */
    system?: string | undefined;
    /**
     * A user specified by User or Domain\User.
     * The default is the permissions of the current logged on user on the computer issuing the command.
     */
    username?: string | undefined;
    /**
     * Password of the user account for the specified `username`.
     */
    password?: string | undefined;
    /**
     * Types of processes to include or exclude from termination.
     * See the `taskkill` docs for supported filters.
     */
    filter?: string | undefined;
    /**
     * Forcefully terminate processes.
     * Ignored for remote processes as all remote processes are forcefully terminated.
     */
    force?: boolean | undefined;
    /**
     * Terminate all child processes along with the parent process, commonly known as a tree kill.
     */
    tree?: boolean | undefined;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Piotr Błażejewicz.

Current Tags

  • 5.0.3                                ...           latest (2 years ago)
  • 5.0.0                                ...           ts4.0 (4 years ago)
  • 5.0.0                                ...           ts4.1 (4 years ago)
  • 5.0.0                                ...           ts4.2 (4 years ago)
  • 5.0.0                                ...           ts4.3 (4 years ago)
  • 5.0.0                                ...           ts4.4 (4 years ago)
  • 5.0.3                                ...           ts4.5 (2 years ago)
  • 5.0.3                                ...           ts4.6 (2 years ago)
  • 5.0.3                                ...           ts4.7 (2 years ago)
  • 5.0.3                                ...           ts4.8 (2 years ago)
  • 5.0.3                                ...           ts4.9 (2 years ago)
  • 5.0.3                                ...           ts5.0 (2 years ago)
  • 5.0.3                                ...           ts5.1 (2 years ago)
  • 5.0.3                                ...           ts5.2 (2 years ago)
  • 5.0.3                                ...           ts5.3 (2 years ago)
  • 5.0.3                                ...           ts5.4 (2 years ago)
  • 5.0.3                                ...           ts5.5 (2 years ago)
  • 5.0.3                                ...           ts5.6 (2 years ago)
  • 5.0.3                                ...           ts5.7 (2 years ago)
  • 5.0.3                                ...           ts5.8 (2 years ago)
  • 5.0.3                                ...           ts5.9 (2 years ago)

4 Versions

  • 5.0.3                                ...           2 years ago
  • 5.0.2                                ...           2 years ago
  • 5.0.1                                ...           3 years ago
  • 5.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |