@tauri-apps/plugin-store - v2.3.0
    Preparing search index...

    Function getStore

    • Gets an already loaded store.

      If the store is not loaded, returns null. In this case you must load it.

      This function is more useful when you already know the store is loaded and just need to access its instance. Prefer Store.load otherwise.

      Parameters

      • path: string

        Path of the store.

      Returns Promise<null | Store>

      import { getStore } from '@tauri-apps/api/store';
      const store = await getStore('store.json');