persistNSync
JSON →Zustand middleware for persisting and syncing state across browser tabs, windows, and iframes (same origin). Current stable version is 1.2.3, released regularly with a focus on reliability. It uses the Broadcast Channel API for instant cross-tab synchronization and localStorage (or sessionStorage/cookies) for persistence. Differentiators include sub-1kB size, full TypeScript support, fire-and-forget state updates optimized for single-user systems, and exclude/include filters for selective syncing. Alternatives like zustand's built-in persist middleware lack cross-tab sync out of the box.
Traffic · last 30 days ↓67% vs prev 7d
total hits 29
actors 8 distinct systems
last hit 5d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇪 Sweden · 🇫🇷 France · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/persist-and-sync
compatibility /v1/registry/persist-and-sync/compatibility