Get or set screen brightness in Windows
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.editorconfig
.gitattributes
.gitignore
.jshintrc
LICENSE
README.md
index.js
package.json
test.js

README.md

win-brightness

Get or set screen brightness in Windows

Install

$ npm install --save win-brightness

Usage

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.

License

MIT © Sondre Bjellås