nextjs-config-auditor-cli
v1.0.0
Published
Audit next.config.js for perf/security/best practices. A-F score + PDF.
Maintainers
Readme
Next.js Config Auditor CLI
Score your `next.config.js` for performance, security, and best practices. Get A-F grade + actionable fixes.
Who Buys This?
- Indie hackers optimizing Next.js sites for Core Web Vitals/SEO
- Agencies auditing client projects
- Dev teams enforcing config standards
Why pay today? Faster sites = better rankings/sales. Avoid perf pitfalls.
Install
npm i -g nextjs-config-auditor-cli
# or npx
npx nextjs-config-auditor-cli [next.config.js]Usage
nextjs-config-auditor next.config.js
nextjs-config-auditor next.config.js --pro --license=YOUR-KEY --pdfFree: Console table (20+ checks: SWC, Turbo, images, headers, etc.) Pro ($19 one-time Gumroad): PDF report w/ suggestions, trends. Buy Pro
Demo key: `demo-license-key`
Example Output
Next.js Config Score: A (92%)
| Check | Status | Details |
|-------|--------|---------|
| SWC Minify | ✅ Pass | swcMinify: true |
| Turbo Mode | ✅ Pass | experimental.turbo present |
...Checks (20+)
- Perf: swcMinify, turbo, outputFileTracing
- Security: headers CSP, images domains
- DX: typescript, eslint, trailingSlash false
- Modern: appDir, ppr, etc.
Pro Features
- PDF export (A4, branded)
- Fix suggestions code snippets
- Multi-file audit (tsconfig too)
npm pack for Gumroad.
