h5p-clamav-scanner
ClamAV's security level
Usage
import ClamAVScanner from '@lumieducation/clamav-scanner';
// There is no public constructor as the initialization is async.
// That's why we have to use an async factory method.
const clamAVScanner = await clamAVScanner.create();
const h5pEditor = new H5PEditor(
// ... regular configuration ...
// Add the scanner to the options parameter
{
malwareScanners: [ clamAVScanner ]
}
);Configuration
In Code
Through environment variables
Example
Last updated
Was this helpful?