BeechCMS / @beechcms/core / VirusTotalAntivirusProvider
Class: VirusTotalAntivirusProvider
Implements
Constructors
Constructor
new VirusTotalAntivirusProvider(
apiKey?):VirusTotalAntivirusProvider
Parameters
apiKey?
string
Returns
VirusTotalAntivirusProvider
Properties
name
readonlyname:"virustotal"='virustotal'
Implementation of
Methods
scan()
scan(
fileBuffer,filename):Promise<AntivirusScanResult>
Parameters
fileBuffer
ArrayBuffer | Uint8Array<ArrayBufferLike>
filename
string
Returns
Promise<AntivirusScanResult>