joshnuss/svelte-persisted-store
A Svelte store that persists to localStorage observed · 2026-08-28
Health v2 · maintenance only
63/100
- Activity 89
- Release rhythm 8
- 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: n/a
- age_days: 2252
- days_rel: 671
- days_push: 67
- n_releases_24m: 1
Adoption not part of the score
1159 stars · 39 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Svelte store wrapper that persists state to localStorage or sessionStorage, with optional cross-tab synchronization via storage events. It supports custom serializers, read/write hooks, and error handlers.
Use cases
- persist user preferences like theme across page reloads
- keep shopping cart contents in localStorage
- sync Svelte store state across browser tabs
- store form drafts in sessionStorage
- reset a persisted store back to its initial value
When to choose
- you use Svelte or SvelteKit and need state to survive reloads
- you want cross-tab state sync with minimal setup
- you need pluggable serialization or storage backends
When to avoid
- you need server-side persistence or a database-backed store
- you're not using Svelte's store contract
- you need to persist large datasets beyond localStorage size limits
Facets
library · maturity stable
state-management serialization frontend web-development developer-tools browser svelte localstorage sessionstorage cross-tab-sync persistence javascript
2 sources
- readme: https://github.com/joshnuss/svelte-persisted-store · fetched 2026-08-28 · 5dd227a32328
- registry_npm: https://registry.npmjs.org/svelte-persisted-store · fetched 2026-08-29 · b1fa9b57c52a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| joshnuss/svelte-persisted-store | main | 63 |
For agents
markdown · JSON · MCP: product_card(name="joshnuss/svelte-persisted-store")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem