wintools

Some Windows tools for node.js

npm install wintools
1 downloads in the last month

wintools - Some windows tools for node.js

Installation

npm install wintools
var wintools = require('wintools');

API

  • wintools.ps(callback) where callback is function(err, list) returns a list of running processes.
  • wintools.kill.pid(pid, callback) kills a process by PID.
  • wintools.kill.image(imageName, callback) kills a process by image name (e.g. node.exe).
  • wintools.shutdown.poweroff([callback]) turns of off the machine immediately.
  • wintools.shutdown.restart([callback]) rstarts the machine immediately.

License

MIT

npm loves you