pompelmi logo

pompelmi

Node.js antivirus scanning via ClamAV — simple, cross-platform, zero config

Home About Quickstart API Docker Contacts Featured In Blog GitHub npm
    Blog
  • Getting Started
  • Frameworks
  • Meta-frameworks
  • Security
  • Infrastructure
  • Advanced Patterns
  • TypeScript
  • Comparisons

No articles match your search.

Getting Started

  • Getting started with antivirus scanning in Node.js (5 minutes)
  • How to scan file uploads for viruses in Node.js
  • How to install ClamAV for Node.js on macOS, Linux and Windows
  • Keeping ClamAV virus definitions current in production

Framework Integrations

  • Scanning file uploads with pompelmi in Express.js
  • Integrating pompelmi antivirus scanning in Fastify
  • How to use pompelmi in a NestJS application
  • File upload antivirus scanning with pompelmi and Hapi.js
  • Using pompelmi in a Koa.js middleware pipeline
  • Scanning multipart uploads with pompelmi and Multer
  • Virus scanning in Hono.js with pompelmi
  • Virus scanning in Elysia.js with pompelmi (Bun)

Meta-frameworks

  • How to scan file uploads in Next.js (App Router)
  • Scanning file uploads in Next.js Pages Router (API Routes)
  • Integrating antivirus scanning in Nuxt.js
  • SvelteKit file upload security with pompelmi
  • Scanning file uploads in Remix / React Router v7
  • Scanning file uploads in Astro (SSR mode)

Security

  • How to protect your Node.js app from malicious file uploads
  • Node.js file upload security checklist (with virus scanning)
  • MIME type spoofing: how attackers disguise malicious files
  • How to scan PDF uploads for malware in Node.js
  • Scanning image uploads (JPEG, PNG, WebP, GIF) in Node.js
  • Scanning Excel and CSV files for malicious macros
  • Preventing ZIP Bomb attacks in Node.js
  • How to handle encrypted and password-protected files during scan
  • Building a file scanning REST API with Node.js and pompelmi
  • Scanning files inside a ZIP archive in Node.js

Infrastructure & Cloud Storage

  • Running pompelmi with ClamAV in Docker Compose
  • Setting up pompelmi with ClamAV on Kubernetes
  • Serverless virus scanning with AWS Lambda and Node.js
  • Background virus scanning with BullMQ and Node.js
  • Scanning files before uploading to AWS S3 in Node.js
  • Scanning files before uploading to Google Cloud Storage
  • Scanning files before uploading to Azure Blob Storage
  • Scanning files before uploading to Cloudflare R2
  • Scanning files before uploading to MinIO (self-hosted S3)

Advanced Patterns

  • Scanning multiple file uploads in a single request
  • Optimising ClamAV scan performance in Node.js
  • Caching ClamAV scan results by file hash (Redis + in-memory)

TypeScript

  • Complete TypeScript integration guide for pompelmi

Comparisons

  • ClamAV in Node.js: pompelmi vs clamscan vs node-clam
pompelmi v1.2.0  —  License: ISC  —  github.com/pompelmi/pompelmi  —  npmjs.com/package/pompelmi