prazdevs/pinia-plugin-persistedstate
💾 Configurable persistence and rehydration of Pinia stores observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 39
- Release rhythm 42
- Longevity 100
Flags: archived
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: 16
- age_days: 1773
- days_rel: 387
- days_push: 367
- n_releases_24m: 12
Adoption not part of the score
2522 stars · 141 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Pinia plugin that adds configurable persistence and rehydration of Vue store state to web storage. It offers customizable storage, serializers, and path picking, with out-of-the-box SSR-friendly Nuxt module support.
Use cases
- persist pinia store state across page reloads
- rehydrate vue store from localstorage on app start
- persist only selected state paths in pinia
- ssr-safe store persistence with cookies in nuxt
- use sessionStorage for pinia store persistence
- custom serializer for persisted vue state
When to choose
- you use Pinia and need state to survive reloads
- you want a tiny (<2kB), highly configurable persistence plugin
- you need SSR-friendly persistence in Nuxt
When to avoid
- you use Vuex or another state library instead of Pinia
- you need server-side or cross-device state sync rather than client storage
- you need persistence of non-serializable state like functions or class instances
Facets
plugin · maturity active
state-management serialization plugin-system frontend web-development browser pinia vue nuxt persistence ssr typescript vuex-persistedstate nodejs web-server
2 sources
- readme: https://github.com/prazdevs/pinia-plugin-persistedstate · fetched 2026-08-28 · 2f9b48079cbb
- homepage: https://prazdevs.github.io/pinia-plugin-persistedstate/ · fetched 2026-08-29 · 31f284cc6b28
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| prazdevs/pinia-plugin-persistedstate | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="prazdevs/pinia-plugin-persistedstate")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem