What kind of sensor is this? There are several designs.
You'll probably need a voltage divider to get the 0~3.3v or 0~5v output of sensor into the 0~1v range of the ADC - however, this may have already been done for you on the lolin board - some of the ESP8266 development boards do this.
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.
What kind of sensor is this? There are several designs.
You'll probably need a voltage divider to get the 0~3.3v or 0~5v output of sensor into the 0~1v range of the ADC - however, this may have already been done for you on the lolin board - some of the ESP8266 development boards do this.