find-itch-games
    Preparing search index...

    Interface IItchPathLookup

    Where to look for itch, when not the current user on the current machine.

    Every field defaults to the ambient value, so passing nothing searches for the running user's own installation. Supplying them lets a caller ask where itch would be for another home directory, environment or operating system -- useful for tools that scan several user profiles or inspect a mounted disk, and the reason this library's own tests never have to mutate process.env.

    interface IItchPathLookup {
        home?: string;
        env?: Record<string, string | undefined>;
        platform?: Platform;
    }
    Index
    home?: string

    Home directory to resolve ~-relative candidates against.

    os.homedir()

    env?: Record<string, string | undefined>

    Environment to read APPDATA, XDG_CONFIG_HOME and this library's own overrides from.

    process.env

    platform?: Platform

    Operating system whose conventions to follow.

    process.platform