lightlevel

Description

LightLevel

A NodeJS module for use on OSX systems to get the light level from the ambiant light sensor. The higher the number, the brighter the light.

var LightLevel = require('lightlevel');
var stream = LightLevel.returnStream();
// do something with the stream... 
 
// When you are done with the data... kill the stream... 
LightLevel.stopStream();