ambient-light-sensor

0.0.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i ambient-light-sensor

Weekly Downloads

4

Version

0.0.1

License

MIT

Last publish

Collaborators

  • otium