How to save sensor value in EEPROM? (ESP8266)?

Since the ESPs don't actually have EEPROM (they simulate it using FLASH), I just store configuration data as text files in a SPIFFS or LittleFS filesystem. It's simple, and they are then human-readable.