# championswimmer/vuex-persist

A Vuex plugin to persist the store. (Fully Typescript enabled)

Repository: https://github.com/championswimmer/vuex-persist
Canonical: https://ross.abutalabs.com/products/vuex-persist
Homepage: http://championswimmer.in/vuex-persist
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2023-03-01T08:59:29+00:00

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

## Adoption (not part of the score)
Stars 1646, forks 111 (observed 2026-08-28T04:05:16.323830+00:00)

## What it is
A TypeScript-ready Vuex plugin that automatically persists the Vue/Vuex store state to storage like localStorage, sessionStorage, or cookies, and restores it on app load. It supports filtering mutations, partial-state reducers, modules, and multiple persistence instances.

## Use cases
- persist vuex store to localstorage
- keep vue app state after page refresh
- save only part of the vuex store
- restore state when app loads
- store vuex state in cookies or sessionstorage
- persist state with vuex modules

## When to choose
- you use Vue 2 with Vuex and need state to survive reloads
- you want fine-grained control over which mutations trigger saves
- you need to split persistence across localStorage, sessionStorage, and cookies

## When to avoid
- you use Pinia instead of Vuex
- you need persistence for Vue 3 / Vuex 4 with active maintenance guarantees
- you need encrypted or server-synced state persistence

## Facets
- artifact type: library
- maturity: maintenance
- function: state-management, plugin-system, serialization
- domain: frontend, web-development, developer-tools
- platform: browser
- tags: vuex, vue, localstorage, state-persistence, typescript, cookies, vue2, nodejs, javascript

## Member repositories
- championswimmer/vuex-persist (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:16.323830+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-30T03:45:22.720409+00:00, confidence not recorded.
  - readme: https://github.com/championswimmer/vuex-persist (fetched 2026-08-28T04:05:16.323830+00:00, sha bfb83785ed03)
  - homepage: http://championswimmer.in/vuex-persist (fetched 2026-08-29T11:18:51.058180+00:00, sha 8ea1e70b50a5)
  - registry_npm: https://registry.npmjs.org/vuex-persist (fetched 2026-08-29T11:18:51.067606+00:00, sha 51c4dedde9d8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
