Skip to content

owdproject/module-persistence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Persistence Module

Pinia persistence for Open Web Desktop (IndexedDB via idb-keyval).

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 / removeItem compatible with the persisted-state plugin
  • Client-only Nuxt plugin (same pattern as before)

Installation

pnpm desktop add @owdproject/module-persistence

License

This module is released under the MIT License.

About

Enable persistent states on OWD

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

 
 
 

Contributors