A minimal Node.js wrapper around ClamAV that scans any file and returns a typed Verdict Symbol:

  • Verdict.Clean
  • Verdict.Malicious
  • Verdict.ScanError

Zero runtime dependencies. No daemon. No cloud. No native bindings. Works locally via clamscan or remotely via clamd TCP socket (Docker-friendly).

npm install pompelmi

Repo: https://github.com/pompelmi/pompelmi

  • mabeledo@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 days ago

    Is that a thing? I mean, running ClamAV in NodeJS? First time I’ve seen it. Is there any project out there that you know could use your library? Would love to see it.