power-off
v1.1.2
Published
Cross OS poweroff.
Downloads
40
Maintainers
Readme
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