It's in the schematic of the NodeMCU:

If you want a reference voltage higher than 3.3V, just add a resistor in series with the analog input:
V[sub]1023[/sub] = 1V * (100kΩ + 220kΩ + R) / 100kΩ
Where R is the resistor you put in series with A0.
V[sub]max[/sub] = 1.8V * (100kΩ + 220kΩ + R) / 100kΩ
If you need a voltage lower than 3.3V, you can just short out the 220kΩ resistor, then V1023 = 1V and Vmax = 1.8V.
Pieter