ambientlight icon indicating copy to clipboard operation
ambientlight copied to clipboard

Access mac ambient light sensors

AmbientLight

Easily get ambient data sensor readings of mac ambient light sensors.

$ npm install ambientlight
const ambient = require('ambientlight')
console.log(ambient())

Credits

The undelying ambient light implementation is inspired from: https://bugzilla.mozilla.org/attachment.cgi?id=664102