Get or set screen brightness in Windows
$ npm install --save win-brightness
var winBrightness = require('win-brightness');
winBrightness.get(function (err, brightness) {
console.log(brightness);
//=> 0.5
});
winBrightness.set(0.75, function (err) {
console.log('Changed brightness to 75%');
});
Based on osx-brightness and xdg-brightness. Built to be used by brightness.
MIT © Sondre Bjellås