win-process-killer
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i win-process-killer

Weekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

6.51 kB

Total Files

22

Last publish

Collaborators

  • hashimoto