Json Storage Module : https://github.com/cyrilgupta/node.js...
Nearly every application needs to work with data and reading or writing files is something you will do very often. In this detailed tutorial I will show you how to read and write files using Electron.
We'll start from scratch and see step-by-step how to do things. Follow along and learn how to read and write files in Electron. This tutorial is useful for node.js too.
Also included, a complete module to work with JSON files. You can persist your objects to JSON using this module.