@spiderjew/npm-audit-pdf-cli
v1.0.0
Published
CLI to generate styled PDF reports from `npm audit --json` output. Groups vulnerabilities by severity with details & fixes. Pro unlocks full severity levels & no watermarks.
Downloads
41
Maintainers
Readme
npm-audit-pdf-cli (nap)
Cybersecurity CLI: Transform npm audit output into professional, styled PDF reports.
Group vulnerabilities by severity (Critical 🚨, High ⚠️, Moderate ⚡, Low ℹ️), with details on packages, ranges, sources, and fix status.
✨ Features
- 📄 Beautiful PDF with tables, colors, headers/footers, page numbers
- 🎨 Severity-based styling & grouping
- Pro License Gate 🛡️: | Free | Pro | |------|-----| | Critical + High only | All severities | | Watermark | Clean report | | Basic fixes | Advanced (coming) |
- 🔑 One-time pro key activation:
nap --pro-key nap-pro-2024-mvp - 💰 License saved to
~/.config/nap/license
🚀 Quick Start
# Global install (recommended)
npm i -g npm-audit-pdf-cli
# Or npx
npx npm-audit-pdf-cli .
# With output
nap . -o my-audit.pdf
# Activate Pro (unlock full features)
nap --pro-key nap-pro-2024-mvp -o pro-report.pdf📊 Example Output
Summary dashboard with vuln counts per severity.
Detailed tables: | Package | Severity | Installed Range | Patched Range | Fix? | Source | |---------|----------|-----------------|---------------|------|--------| | lodash | HIGH | < 4.17.21 | >=4.17.21 | Yes | GHSA... |
Free: Shows only Critical/High + pro upgrade hint. Pro: Full report, no limits/watermarks.
🛠️ Development
cd npm-audit-pdf-cli
npm run pack # → npm-audit-pdf-cli-1.0.0.tgz🔗 GitHub Repo
https://github.com/clawdbot/npm-audit-pdf-cli
Pro Upgrade: Contact clawdbot for real keys & enterprise features (team reports, CI integration).
License
MIT © Clawd AI
⭐ Match: Cybersec prefs. MVP ready: core CLI + PDF gen + pro gate.
