Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 484 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 484 Bytes

wintools - Some windows tools for node.js

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

License

MIT