Cross platform config file

I am currently building an app based on Ionic framework and electronJS. Initially I just want a windows application.

But at some point I would consider building the app for IOS too.

I my app I need to read and update a config file with settings. Currently I am reading and writing a json file with electron store (electron-store).

What would be the best approach to do this in order to enable cross platform builds ?