# killprocess

> Terminate process and its childs using `ps-tree` and process.kill

Latest version **0.0.2** (published 2015-02-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install killprocess
pnpm add killprocess
yarn add killprocess
bun add killprocess
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2015-02-19 |
| First published | 2014-05-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Boris Filipov |
| Maintainers | outbounder |

## Links

- npm: https://www.npmjs.com/package/killprocess
- Repository: https://github.com/outbounder/killprocess
- Issues: https://github.com/outbounder/killprocess/issues
- npm.io page: https://npm.io/package/killprocess

## Dependencies (1)

- [ps-tree](https://npm.io/package/ps-tree.md) 0.0.3

## Recent versions

- 0.0.2 (latest) — 2015-02-19
- 0.0.1 — 2014-05-10

## README

# killprocess

Terminate process and its childs using [ps-tree](https://github.com/indexzero/ps-tree)
Code based on http://krasimirtsonev.com/blog/article/Nodejs-managing-child-processes-starting-stopping-exec-spawn

## api

    var kill = require("killprocess")
    kill(pid, function(){
      // process with pid terminated using SIGKILL signal
    })

    kill(pid, "SIGINT", function(){
      // process with pid terminated using SIGINT signal
    })

---
_Source: https://npm.io/package/killprocess · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
