save byte value to nodemcu eeprom

I am looking for a solution to save byte value to nodemcu eeprom when power loss
is there any code and circuit diagram?
is there any code and circuit diagram?
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/