Skip to content

owdproject/module-persistence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 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 (desktop-plugin-persistence)
  • Storage keys match Pinia store ids (e.g. desktop, desktop/application/todo/windows)

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

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Sponsor this project

 

Packages

 
 
 

Contributors