electron-store

JSON →
library 11.0.2 ·javascript
verified Jun 7, 2026

Simple data persistence for Electron apps and modules, saving and loading user settings, app state, and cache as a JSON file in the user data directory. v11.0.2 is the current stable release, requiring Electron 30+ and Node.js 20+. The package is native ESM only (no CommonJS). Key differentiators: JSON Schema validation via ajv, atomic disk writes, dot-notation access for nested properties, migration support for version upgrades. Actively maintained by Sindre Sorhus.