node-persist

Super-easy (and fast) persistent data structures in Node.js, modeled after HTML5 localStorage

electron-store

Simple data persistence for your Electron app or module - Save and load user settings, app state, cache, etc