{"adoption": {"forks": 39, "observed_at": "2026-08-28T04:03:48.669189+00:00", "stars": 1159}, "canonical_url": "https://ross.abutalabs.com/products/svelte-persisted-store", "card": {"archived": false, "artifact_type": "library", "description": "A Svelte store that persists to localStorage", "domain": ["frontend", "web-development", "developer-tools"], "enriched": true, "function": ["state-management", "serialization"], "health_score": 83, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["joshnuss/svelte-persisted-store"], "name": "joshnuss/svelte-persisted-store", "platform": ["browser"], "pushed_at": "2026-06-27T11:08:40+00:00", "repo": "joshnuss/svelte-persisted-store", "stars": 1159, "tags": ["svelte", "localstorage", "sessionstorage", "cross-tab-sync", "persistence", "javascript"], "topics": ["svelte", "localstorage", "pubsub", "sessionstorage"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/svelte-persisted-store", "repo": "joshnuss/svelte-persisted-store", "role": "main", "score": 63}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.669189+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:31:54.097602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dd227a3232815803db1a436a1aeb9a3a899df726690f864262e09fa14e0d926", "fetched_at": "2026-08-28T04:03:48.669189+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshnuss/svelte-persisted-store"}, {"content_hash": "b1fa9b57c52a9a256a5bb2679563a0d86b167498ce5b59e9dc03ceb2814488ae", "fetched_at": "2026-08-29T12:36:47.551422+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svelte-persisted-store"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.669189+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:31:54.097602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dd227a3232815803db1a436a1aeb9a3a899df726690f864262e09fa14e0d926", "fetched_at": "2026-08-28T04:03:48.669189+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshnuss/svelte-persisted-store"}, {"content_hash": "b1fa9b57c52a9a256a5bb2679563a0d86b167498ce5b59e9dc03ceb2814488ae", "fetched_at": "2026-08-29T12:36:47.551422+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svelte-persisted-store"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:31:54.097602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dd227a3232815803db1a436a1aeb9a3a899df726690f864262e09fa14e0d926", "fetched_at": "2026-08-28T04:03:48.669189+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshnuss/svelte-persisted-store"}, {"content_hash": "b1fa9b57c52a9a256a5bb2679563a0d86b167498ce5b59e9dc03ceb2814488ae", "fetched_at": "2026-08-29T12:36:47.551422+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svelte-persisted-store"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.669189+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.669189+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.669189+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:31:54.097602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dd227a3232815803db1a436a1aeb9a3a899df726690f864262e09fa14e0d926", "fetched_at": "2026-08-28T04:03:48.669189+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshnuss/svelte-persisted-store"}, {"content_hash": "b1fa9b57c52a9a256a5bb2679563a0d86b167498ce5b59e9dc03ceb2814488ae", "fetched_at": "2026-08-29T12:36:47.551422+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svelte-persisted-store"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.669189+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.669189+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:31:54.097602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dd227a3232815803db1a436a1aeb9a3a899df726690f864262e09fa14e0d926", "fetched_at": "2026-08-28T04:03:48.669189+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshnuss/svelte-persisted-store"}, {"content_hash": "b1fa9b57c52a9a256a5bb2679563a0d86b167498ce5b59e9dc03ceb2814488ae", "fetched_at": "2026-08-29T12:36:47.551422+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svelte-persisted-store"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.669189+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.669189+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.669189+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:31:54.097602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dd227a3232815803db1a436a1aeb9a3a899df726690f864262e09fa14e0d926", "fetched_at": "2026-08-28T04:03:48.669189+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshnuss/svelte-persisted-store"}, {"content_hash": "b1fa9b57c52a9a256a5bb2679563a0d86b167498ce5b59e9dc03ceb2814488ae", "fetched_at": "2026-08-29T12:36:47.551422+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svelte-persisted-store"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.669189+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.669189+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:31:54.097602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dd227a3232815803db1a436a1aeb9a3a899df726690f864262e09fa14e0d926", "fetched_at": "2026-08-28T04:03:48.669189+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshnuss/svelte-persisted-store"}, {"content_hash": "b1fa9b57c52a9a256a5bb2679563a0d86b167498ce5b59e9dc03ceb2814488ae", "fetched_at": "2026-08-29T12:36:47.551422+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svelte-persisted-store"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:31:54.097602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dd227a3232815803db1a436a1aeb9a3a899df726690f864262e09fa14e0d926", "fetched_at": "2026-08-28T04:03:48.669189+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshnuss/svelte-persisted-store"}, {"content_hash": "b1fa9b57c52a9a256a5bb2679563a0d86b167498ce5b59e9dc03ceb2814488ae", "fetched_at": "2026-08-29T12:36:47.551422+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svelte-persisted-store"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:31:54.097602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dd227a3232815803db1a436a1aeb9a3a899df726690f864262e09fa14e0d926", "fetched_at": "2026-08-28T04:03:48.669189+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshnuss/svelte-persisted-store"}, {"content_hash": "b1fa9b57c52a9a256a5bb2679563a0d86b167498ce5b59e9dc03ceb2814488ae", "fetched_at": "2026-08-29T12:36:47.551422+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svelte-persisted-store"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:31:54.097602+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dd227a3232815803db1a436a1aeb9a3a899df726690f864262e09fa14e0d926", "fetched_at": "2026-08-28T04:03:48.669189+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshnuss/svelte-persisted-store"}, {"content_hash": "b1fa9b57c52a9a256a5bb2679563a0d86b167498ce5b59e9dc03ceb2814488ae", "fetched_at": "2026-08-29T12:36:47.551422+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/svelte-persisted-store"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 89, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2252, "days_push": 67, "days_rel": 671, "gap_med": null, "n_releases_24m": 1}, "score": 63, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}