0.0.1 • Published 4 years ago

win-process-killer v0.0.1

Weekly downloads
5
License
MIT
Repository
-
Last release
4 years ago

Win Process Killer

Kill Windows process by name.

Install

$ npm install --save win-process-killer
# or
$ yarn add win-process-killer

Usage

const processKiller = require('win-process-killer')

;(() => {
  const killed = processKiller.killProcessByName('notepad.exe')
  console.log(killed) // => returns `true` if killed or `false` if `no`
})()

API

killProcessByName(name)

Arguments:

  • name String (required)

Returns Boolean, true if process successfuly killed or false if no.

License

MIT