Control system services such as audio volumne, start/sleep/shutdown and screensaver programmatically.
OS X only for now!
Get it:
$ npm install --save crash-override
Require it:
var crash-override = require('crash-override');
(Callback is optional for all methods)
Restart the computer.
Shutdown the computer.
Enter sleep mode.
Mute audio.
Unmute audio.
Set the system volume to val
(0..1).
Start the system screensaver.
Stop the system screensaver.
© 2015 Jason Frame [ @jaz303 / jason@onehackoranother.com ]
Released under the ISC license.