Library API
    Preparing search index...

    Function opfsReadJSON

    • Reads and deserializes a JSON file from OPFS.

      Type Parameters

      • T = any

      Parameters

      • path: string

        Virtual path relative to OPFS root

      • Optionalfallback: T

        Default value if file not found or invalid

      Returns Promise<T | null>