plugin-store
Persistent key-value storage.
What is plugin-store
A simple persisted key-value store for settings and small bits of app state.
Install
npm install @tauri-apps/plugin-storeUsage
import { Store } from '@tauri-apps/plugin-store';
const store = await Store.load('settings.json');
await store.set('theme', 'dark');
await store.save();Docs
Official documentation: plugin-store.