@zip.js/zip.js
    Preparing search index...

    Interface OPFSTempStreamOptions

    Options for createOPFSTempStream.

    interface OPFSTempStreamOptions {
        directoryName?: string;
        getDirectory?: () => | FileSystemDirectoryHandle
        | Promise<FileSystemDirectoryHandle>;
        thresholdBytes?: number;
    }
    Index
    directoryName?: string

    Name of the OPFS sub-directory holding the temporary files.

    ".zip.js-temp"
    
    getDirectory?: () => | FileSystemDirectoryHandle
    | Promise<FileSystemDirectoryHandle>

    Returns (or resolves to) the root FileSystemDirectoryHandle. Defaults to navigator.storage.getDirectory().

    Provide it to run inside a worker with a pre-obtained handle, or to test against a mock.

    thresholdBytes?: number

    Spill a buffered entry to a file once its buffered data exceeds this size, in bytes. Smaller entries stay in memory.

    1048576