Some windows tools for node.js
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
node_modules
tests Add shutdown module Mar 5, 2012
.gitignore
.npmignore
.travis.yml
LICENSE
README.md Update README.md Mar 5, 2012
main.js
package.json

README.md

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