DEV Community

Discussion on: What was your win this week?

Collapse
abdelazize profile image
Abde Lazize • Edited on

I was working with ELECTRON for a long time and made a lot of projects but the thing I found hard is to persist the data. So I created a package that helps saving data in a JSON file and it watches the object data for any change and updates the JSON file. Also, you can store different types of data each one in a separated file, for example, one file for storing data and the other for storing the user preferences such as dark mode if it's enabled or not. And the beautiful thing is that you can choose to encrypt the data in the JSON file.

See the documentation:

npmjs.com/package/electron-data-ho...

If you liked this package leave a star in the GitHub repo