end-child-processes
v1.0.3
Published
Reliably ends all direct and indirect child processes of the current process
Downloads
743
Readme
End-Child-Processes
This library reliably ends all child processes (and their child processes) the current process has spawned. It doesn't end the current process itself.
Installation
$ npm install --save end-child-processes
# or
$ yarn add end-child-processes
Usage
import { endChildProcesses } from "end-child-processes"
// or
const { endChildProcesses } = require("end-child-processes")
await endChildProcesses()
Related work
Dependent on your use case, these other libraries that might also be a good fit for you:
- tree-kill: ends all processes in the process tree, including the current process
- @jub3i/tree-kill: ends all processes in the process tree, including the current process
Development
- make setup: prepares this codebase for development after cloning
- make test: runs all tests
- make help: see all available Make commands
To deploy:
- update the version in
package.json
and commit tomaster
- run make publish