What is the best/simple way to read/save a string inside a file using Electron?


We are using a stringified json object to store some setting infos in our app.
Is there a simple way/module to do it in Electron?

FYI: we may have more than 100 files with different names inside different folders.



Electron includes Node, so most projects use the fs module for all file manipulation. If you need tricks beyond what fs gives you, fs-extra is an option.


Great, it is realy helpful