Library API
    Preparing search index...

    Function opfsRead

    • Reads a text file from the browser OPFS virtual filesystem.

      Parameters

      • path: string

        Virtual path relative to OPFS root (e.g. "keys/openai.json")

      Returns Promise<string | null>

      The string file contents, or null if file not found