An interface for malware scanners. See the documentation for details on how to use this class.

interface IFileMalwareScanner {
    name: string;
    scan(
        file: string,
    ): Promise<{ result: MalwareScanResult; viruses?: string }>;
}

Implemented by

Properties

Methods

Properties

name: string

The name of the scanner, e.g. ClamAV

Methods

MMNEPVFCICPMFPCPTTAAATR