Download Latest Version v1.18.0 -- Docker Image, Security Scorecard, VS Code Extension, Quarantine Mode source code.tar.gz (5.2 MB)
Email in envelope

Get an email when there's a new version of pompelmi

Home / v1.16.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-05-07 2.7 kB
v1.16.0 -- Remix Plugin, SvelteKit Plugin, Scan Stats, Navbar Fix source code.tar.gz 2026-05-07 5.2 MB
v1.16.0 -- Remix Plugin, SvelteKit Plugin, Scan Stats, Navbar Fix source code.zip 2026-05-07 5.3 MB
Totals: 3 Items   10.5 MB 0

What's New

Remix Plugin

@pompelmi/remix is now available on npm.

:::bash
npm install @pompelmi/remix pompelmi

:::js
import { withPompelmi } from '@pompelmi/remix'

export const action = withPompelmi(async ({ request }) => {
  const formData = await request.formData()
  return json({ ok: true })
}, { host: 'localhost', port: 3310 })

SvelteKit Plugin

@pompelmi/sveltekit is now available on npm.

:::bash
npm install @pompelmi/sveltekit pompelmi

:::js
import { withPompelmi } from '@pompelmi/sveltekit'

export const POST = withPompelmi(async ({ request }) => {
  return new Response(JSON.stringify({ ok: true }))
}, { host: 'localhost', port: 3310 })

Scan Statistics

Track scan activity in-memory with createStats():

:::js
const { createStats } = require('pompelmi')

const stats = createStats()
const result = await stats.track(() => scan(filePath, options))

stats.get()
// {
//   totalScanned: 1247,
//   totalClean: 1245,
//   totalInfected: 2,
//   totalErrors: 0,
//   avgScanTimeMs: 45,
//   lastScanAt: '2026-05-07T...',
//   uptime: 3600000
// }

app.get('/pompelmi/stats', (req, res) => res.json(stats.get()))

Navbar Fix

All docs/ HTML pages now have a consistent navbar linking to every page in the documentation site. Previously several pages were missing links to newer sections.

Framework Integrations

Package Framework
@pompelmi/nestjs NestJS
@pompelmi/fastify Fastify
@pompelmi/nextjs Next.js
@pompelmi/hono Hono
@pompelmi/remix Remix
@pompelmi/sveltekit SvelteKit
@pompelmi/testing Jest / Vitest / Node

Changes

  • packages/remix/ — Remix action wrapper
  • packages/sveltekit/ — SvelteKit server handler and hook
  • src/Stats.js — in-memory scan statistics tracker
  • docs/remix.html, docs/sveltekit.html, docs/stats.html — new docs pages
  • docs/*.html — canonical navbar across all pages
  • README.md — updated framework integrations table
  • .github/workflows/ci.yml — updated to Node.js 24 actions

Full Changelog

https://github.com/pompelmi/pompelmi/compare/v1.15.0...v1.16.0

Source: README.md, updated 2026-05-07