tree-kill-promise
v3.0.14
Published
Simple wrapper around the tree-kill module that makes use of promises.
Downloads
5,212
Readme
tree-kill-promise
Simple wrapper around the tree-kill module that makes use of promises.
Install
# npm
$ npm install tree-kill-promise
# Yarn
$ yarn add tree-kill-promise
Usage
import kill from 'tree-kill-promise'
// Kill process with pid 1
await kill(1)
// Send signal other than SIGTERM
await kill(1, 'SIGKILL')
For more details please visit the tree-kill docs.
Contribute
Are you missing something or want to contribute? Feel free to file an issue or a pull request! ⚙️
Support
Hey, I am Sebastian Landwehr, a freelance web developer, and I love developing web apps and open source packages. If you want to support me so that I can keep packages up to date and build more helpful tools, you can donate here:
Thanks a lot for your support! ❤️