Skip to content
/ fkill Public
forked from sindresorhus/fkill

Fabulously kill processes. Cross-platform.

License

Notifications You must be signed in to change notification settings

3rawkz/fkill

 
 

Repository files navigation


fkill


Fabulously kill processes. Cross-platform.

Build Status Build status

Works on macOS, Linux, Windows.

Install

$ npm install --save fkill

Usage

const fkill = require('fkill');

fkill(1337).then(() => {
	console.log('Killed process');
});

fkill('Safari');

fkill([1337, 'Safari']);

API

fkill(input, [options])

Returns a promise.

input

Type: number string Array<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

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%