ambient-light

Get ambient light in OSX

Usage no npm install needed!

<script type="module">
  import ambientLight from 'https://cdn.skypack.dev/ambient-light';
</script>

README

ambient-light

Get ambient light in OSX

Installation

$ npm install --save ambient-light

Usage

const ambientLight = require('ambient-light');
ambientLight().then(lux => {
    console.log(lux);
    // => 63
});

License

MIT