| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-05-06 | 2.7 kB | |
| v1.14.0 -- Security Dashboard, Share Card, Next.js Package source code.tar.gz | 2026-05-06 | 5.1 MB | |
| v1.14.0 -- Security Dashboard, Share Card, Next.js Package source code.zip | 2026-05-06 | 5.3 MB | |
| Totals: 3 Items | 10.4 MB | 0 | |
What's New
HTML Security Dashboard
Generate a beautiful, self-contained scan report in one command:
:::bash
npx pompelmi scan ./uploads --report
npx pompelmi scan ./uploads --report --output report.html
Or from code:
:::js
const { scanDirectory, generateDashboard } = require('pompelmi')
const results = await scanDirectory('./uploads')
const html = await generateDashboard(results)
fs.writeFileSync('report.html', html)
Features:
- Summary stats: scanned, infected, clean, errors, time
- Color-coded status banner (green / red)
- Full file table with verdict badges
- Infected files highlighted with virus names
- Dark mode support
- Print-friendly CSS
- Zero external dependencies — single self-contained HTML file
SVG Share Card
Generate a shareable scan result card for README badges or social media:
:::bash
npx pompelmi scan ./uploads --share-card
# saves pompelmi-scan-card.svg
:::js
const { generateShareCard } = require('pompelmi')
const svg = await generateShareCard(results)
Next.js Package
@pompelmi/nextjs is now available on npm:
:::bash
npm install @pompelmi/nextjs pompelmi
:::js
// App Router (Next.js 13+)
import { withPompelmi } from '@pompelmi/nextjs'
export const POST = withPompelmi(async (req) => {
return Response.json({ ok: true })
}, { host: 'localhost', port: 3310 })
// Pages Router
export default withPompelmiHandler(handler, options)
GitHub App
Configuration for a one-click pompelmi GitHub App for organizations — no workflow file needed, scans changed files on every PR with inline annotations on the diff.
See docs/github-app.html for setup instructions.
Framework Integrations
| Package | Framework |
|---|---|
| @pompelmi/nestjs | NestJS |
| @pompelmi/fastify | Fastify |
| @pompelmi/nextjs | Next.js |
Changes
src/Dashboard.js— HTML report generatorsrc/ShareCard.js— SVG share card generatorbin/pompelmi.js—--reportand--share-cardflags addedpackages/nextjs/— Next.js App Router and Pages Router support.github/app.yml— GitHub App configurationdocs/dashboard.html— dashboard documentationdocs/github-app.html— GitHub App documentationdocs/*.html— navbar updated with new pagesREADME.md— Features list updated
Full Changelog
https://github.com/pompelmi/pompelmi/compare/v1.13.0...v1.14.0