UNPKG

nodejs-system-reboot

Version:

Reboot computer with nodejs (iOS/Linux)

40 lines (24 loc) 380 B
# reboot > iOS/Linux reboot. ## Install ``` $ npm install --save reboot ``` ## Usage ```js var reboot = require('nodejs-system-reboot'); reboot( function (err, stderr, stdout) { if(!err && !stderr) { console.log(stdout); } }); ``` ## CLI ``` $ npm install --global reboot ``` ``` $ reboot ``` ## License MIT © [HernanMateoRosales](http://devstepbarcelona.com)