find-itch-games
    Preparing search index...

    Interface IItchOptions

    Options shared by every lookup in this library.

    They control where itch is looked for and which of its records are trusted; the defaults suit a normal installation, so most callers pass nothing.

    interface IItchOptions {
        itchPath?: string;
        strategy?: "db" | "merge" | "receipts";
        checkExists?: boolean;
        extraLibraries?: readonly string[];
        ignoreDatabase?: boolean;
        lookup?: IItchPathLookup;
    }

    Hierarchy (View Summary)

    Index
    itchPath?: string

    Override the itch user-data directory instead of searching for it.

    strategy?: "db" | "merge" | "receipts"
    "merge"
    
    checkExists?: boolean

    Drop games whose install folder is gone. itch leaves caves behind when a folder is deleted outside the app, so this defaults to on.

    true
    
    extraLibraries?: readonly string[]

    Extra install locations to scan, e.g. a drive itch was moved off.

    ignoreDatabase?: boolean

    Don't touch butler.db at all, not even for install locations. Only preferences.json, the built-in appdata location and extraLibraries are used. Implies strategy: "receipts".

    false
    

    Search as though for a different user, environment or operating system. Ignored when itchPath is given, which names the directory outright.