With some quick googling:
http://ams.com/eng/Products/Light-Sensors/Ambient-Light-Sensors/TSL25911
Which under techical docs lead to:
http://ams.com/eng/content/download/317883/1114577/version/1
I'm not family with the adafruit code - so this Amy or may not be of use!
@Wilberforce started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
With some quick googling:
http://ams.com/eng/Products/Light-Sensors/Ambient-Light-Sensors/TSL25911
Which under techical docs lead to:
http://ams.com/eng/content/download/317883/1114577/version/1
I'm not family with the adafruit code - so this Amy or may not be of use!