Home

Awesome

power-off

Cross OS power-off.

Install

$ npm install --save power-off

Usage

var powerOff = require('power-off');

powerOff( function (err, stderr, stdout) {
	if(!err && !stderr) {
		console.log(stdout);
	}
});

CLI

$ npm install --global power-off
$ power-off 

License

MIT © Hemanth.HM