@owdproject/module-persistence
v0.0.2
Published
Pinia persistence via IndexedDB (idb-keyval), ESM-friendly
Readme
Overview
This module registers pinia-plugin-persistedstate-2 with storage backed by idb-keyval (small ESM library on IndexedDB). It avoids legacy UMD packages such as localforage, which break under Vite’s native ESM handling (does not provide an export named 'default').
Features
- Async
getItem/setItem/removeItemcompatible with the persisted-state plugin - Client-only Nuxt plugin (same pattern as before)
Installation
pnpm desktop add @owdproject/module-persistenceLicense
This module is released under the MIT License.
