Responsive local storage plugin for Vue 2 and Vue 3 (v2.2.0). Persists reactive state to localStorage with automatic syncing. Supports tree-shaking, custom namespacing, and zero additional dependencies. Lightweight (~1.76 KB source). Differentiator: maintains reactivity across page refreshes without Vuex/Pinia, and works with both Vue major versions. Released under MIT, maintained on GitHub.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Package uses default export. CommonJS require works but TypeScript may complain about types.
For Vue 2, pass version: 2. For Vue 3, do not pass version. Vue 3 uses app.use().
Custom nameSpace must match between plugin options and getData call. Default nameSpace is 'rs-'.
Shows how to install the plugin and define reactive local storage items with defaults in Vue 3.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.
No traffic data recorded yet.