@evan/clamav

    1.0.0 • Public • Published

    implements all non-deprecated commands in clamd

    const clamav = new ClamAV({ port: 3310, host: '127.0.0.1' });
    const eicar = await fetch('https://secure.eicar.org/eicar.com.txt');
    
    console.log(await clamav.version());
    console.log(await clamav.scan(eicar.body));
    console.log(await clamav.scan(new Uint8Array([...])));
    console.log(await clamav.scan(await Deno.open('file.txt')));

    Install

    npm i @evan/clamav

    DownloadsWeekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.3 kB

    Total Files

    3

    Last publish

    Collaborators

    • evan