svelte-local-storage-store (renamed to svelte-persisted-store)
JSON →A Svelte store that automatically syncs state with localStorage. Current stable version is 0.6.4. The package provides a simple writable store that persists values under a given key, with built-in JSON serialization. It supports Svelte 3 and 4 (requires ^3.48.0 || >4.0.0). Key differentiator: minimal API (one function), no dependencies besides Svelte, TypeScript types included. Note: This package has been renamed to svelte-persisted-store; new development happens there. For new projects, use svelte-persisted-store instead.
Traffic · last 30 days stale · no recent hits
total hits 23
actors 4 distinct systems
last hit 16d ago PetalBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · VN · 🇨🇦 Canada · 🇨🇳 China
Resources
packagesvelte-local-storage-store ↗