0.0.1 • Published 8 years ago
ambient-light-sensor v0.0.1
Ambient-Light-Sensor
Access the ambient light sensor on macOS in node.js.
Install
npm install --save ambient-light-sensor
Example
const als = require('ambient-light-sensor');
als(function(err, data) {
console.log(data.computedValue, data.rawValue);
});
License
ambient-light-sensor is released under the MIT license. See LICENSE for details.
0.0.1
8 years ago