# robinvdvleuten/vuex-persistedstate

💾 Persist and rehydrate your Vuex state between page reloads.

Repository: https://github.com/robinvdvleuten/vuex-persistedstate
Canonical: https://ross.abutalabs.com/products/vuex-persistedstate
Homepage: https://npm.im/vuex-persistedstate
Language: JavaScript
License: MIT
License Family: permissive
Topics: vuex, vue, localstorage, storage, plugin, hacktoberfest
Archived: true
Last push: 2022-02-04T09:16:15+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3629, "days_push": 1671, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5674, forks 371 (observed 2026-08-28T04:09:27.710231+00:00)

## What it is
A Vuex plugin that persists and rehydrates Vuex store state between page reloads, typically using localStorage. It supports custom storage backends like cookies or encrypted storage.

## Use cases
- persist vuex state across page reloads
- keep vue app state in localstorage
- rehydrate store on page refresh
- save vuex state to cookies
- persist only some vuex modules

## When to choose
- you use Vuex (Vue 2 or Vue 3) and need state to survive reloads
- you want a simple drop-in Vuex plugin with configurable storage

## When to avoid
- you use Pinia instead of Vuex
- you need actively maintained software (the project is no longer maintained)
- you need SSR-safe persistence without extra setup

## Facets
- artifact type: plugin
- maturity: abandoned
- function: state-management, plugin-system, serialization
- domain: frontend, web-development, developer-tools
- platform: browser
- tags: vuex, vue, localstorage, state-persistence, page-reload, nodejs, javascript

## Member repositories
- robinvdvleuten/vuex-persistedstate (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:27.710231+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:54:16.945736+00:00, confidence not recorded.
  - readme: https://github.com/robinvdvleuten/vuex-persistedstate (fetched 2026-08-28T04:09:27.710231+00:00, sha c04d85c1cb03)
  - registry_npm: https://registry.npmjs.org/vuex-persistedstate (fetched 2026-08-29T08:49:38.408968+00:00, sha cd5c850a4a37)
- Data as of 2026-08-30T08:39:29.467469+00:00.
