{"id":22788883,"url":"https://github.com/rjoydip/win_taskkill","last_synced_at":"2026-05-09T15:12:12.321Z","repository":{"id":114445991,"uuid":"557408081","full_name":"rjoydip/win_taskkill","owner":"rjoydip","description":"Wrapper for the Windows `taskkill` command. Ends one or more tasks or processes.","archived":false,"fork":false,"pushed_at":"2022-10-25T16:25:22.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T18:02:23.975Z","etag":null,"topics":["deno","tasks","windows"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rjoydip.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-25T16:25:12.000Z","updated_at":"2023-03-17T13:23:12.000Z","dependencies_parsed_at":"2023-06-08T05:00:43.314Z","dependency_job_id":null,"html_url":"https://github.com/rjoydip/win_taskkill","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjoydip%2Fwin_taskkill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjoydip%2Fwin_taskkill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjoydip%2Fwin_taskkill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjoydip%2Fwin_taskkill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rjoydip","download_url":"https://codeload.github.com/rjoydip/win_taskkill/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246344193,"owners_count":20762159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deno","tasks","windows"],"created_at":"2024-12-12T01:37:58.355Z","updated_at":"2026-05-09T15:12:07.283Z","avatar_url":"https://github.com/rjoydip.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# win_taskkill ![Build status](https://github.com/rjoydip/win_taskkill/workflows/ci/badge.svg)\n\n\u003e Wrapper for the Windows [`taskkill`](https://technet.microsoft.com/en-us/library/bb491009.aspx) command. Ends one or more tasks or processes.\n\n**Port of [taskkill](https://github.com/sindresorhus/taskkill)**\n\n\u003e Note: **Test is incomplete (Welcome for PR)** due to \"Bad resourse ID\" \u003chttps://github.com/denoland/deno/issues/4830\u003e \u003chttps://github.com/denoland/deno/issues/2703\u003e \u003chttps://github.com/denoland/deno/issues/2692\u003e\n\n## Install\n\n```sh\ndeno install --allow-run -f --name taskkill \"deno.land/x/win_taskkill/cli.ts\"\n```\n\n## Usage CLI\n\n```sh\n$ taskkill --help\n\nUsage\n  $ taskkill [\u003cpid\u003e …]\n\nDescription:\n\nWrapper for the Windows command. Ends one or more tasks or processes.\n\nOptions:\n\n--help -h,    - Show this help.\n--force       - Forcefully stop process.\n--tree,       - Terminate all child processes.\n--system,     - Name or IP address of a remote computer.\n--username,   - User specified by User or Domain\\User.\n--password,   - Password of the user account.\n--filter,     - Types of processes to termination.\n\nExamples:\n  $ taskkill 1337\n  $ taskkill 1337 --force\n  $ taskkill --force --filter \"USERNAME eq NT AUTHORITY\\SYSTEM\"\n  $ taskkill --system srvmain --force\n  $ taskkill --system srvmain --username maindom\\hiropln --password p@ssW23\n```\n\n## Usage API\n\n```ts\nimport { win_taskkill } from \"deno.land/x/win_taskkill/mod.ts\";\n// or\nimport win_taskkill from \"deno.land/x/win_taskkill/mod.ts\";\n\n(async () =\u003e {\n await taskkill([4970, 4512]);\n})();\n```\n\n## API\n\nSee the [`taskkill` docs](https://technet.microsoft.com/en-us/library/bb491009.aspx) for more.\n\n### taskkill(input, [options])\n\nReturns a `Promise`.\n\n#### input\n\nType: `number[] | string[]`\n\nOne or more process IDs or image names, but not mixed.\n\n#### options\n\nThe `system`, `username`, `password` options are mutually inclusive.\n\n##### system\n\nType: `string`\n\nName or IP address of a remote computer (do not use backslashes). The default is the local computer.\n\n##### username\n\nType: `string`\n\nUser specified by User or Domain\\User. The default is the permissions of the current logged on user on the computer issuing the command.\n\n##### password\n\nType: `string`\n\nPassword of the user account for the specified `username`.\n\n##### filter\n\nType: `string`\n\nTypes of processes to include or exclude from termination.\n\nSee the [`taskkill` docs](https://technet.microsoft.com/en-us/library/bb491009.aspx) for supported filters.\n\n##### force\n\nType: `boolean`\n\nForcefully terminate processes. Ignored for remote processes as all remote processes are forcefully terminated.\n\n##### tree\n\nType: `boolean`\n\nTerminate all child processes along with the parent process, commonly known as a tree kill.\n\n## Inspired\n\n- [taskkill](https://github.com/sindresorhus/taskkill) - Wrapper for the Windows `taskkill` command. Ends one or more tasks or processes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjoydip%2Fwin_taskkill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frjoydip%2Fwin_taskkill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjoydip%2Fwin_taskkill/lists"}