Skip to content

Repository files navigation


fkill


Fabulously kill processes. Cross-platform.

Build StatusBuild status

Works on macOS, Linux, Windows.

Install

$ npm install --save fkill

Usage

constfkill=require('fkill');fkill(1337).then(()=>{console.log('Killed process');});fkill('Safari');fkill([1337,'Safari']);

API

fkill(input, [options])

Returns a promise.

input

Type: numberstringArray<number|string>

One or more process IDs/names to kill.

options

force

Type: boolean
Default: false

Force kill the process.

Related

License

MIT © Sindre Sorhus

About

Fabulously kill processes. Cross-platform.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages