sindresorhus/electron-store
Simple data persistence for your Electron app or module - Save and load user preferences, app state, cache, etc observed · 2026-08-28
Health v2 · maintenance only
65/100
- Activity 71
- Release rhythm 38
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 56.0
- age_days: 3752
- days_rel: 332
- days_push: 174
- n_releases_24m: 5
Adoption not part of the score
5014 stars · 166 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A JavaScript library for Electron apps that provides simple data persistence by saving and loading JSON files for user settings, app state, and cache. It supports JSON Schema validation, atomic writes, dot-notation access, and works in both main and renderer processes.
Use cases
- save user preferences in an electron app
- persist app state across restarts
- store configuration with schema validation
- cache small data locally in electron
- load and save settings as in electron
When to choose
- building an Electron app needing simple settings persistence
- storing small amounts of structured data like preferences or app state
- wanting schema validation and atomic writes for config data
When to avoid
- storing large datasets - use SQLite or a real database instead
- needing concurrent writes or query capabilities
- using CommonJS since the package is ESM-only
Facets
library · maturity stable
file-system configuration-management serialization developer-tools desktop-applications files cross-platform electron data-persistence user-preferences app-state -storage npm-package nodejs desktop
2 sources
- readme: https://github.com/sindresorhus/electron-store · fetched 2026-08-28 · ade8a949c138
- registry_npm: https://registry.npmjs.org/electron-store · fetched 2026-08-29 · d71630b692db
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sindresorhus/electron-store | main | 65 |
For agents
markdown · JSON · MCP: product_card(name="sindresorhus/electron-store")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem