Latest updateRead the latest release note →
Reporters
The terminal reporter is optimized for humans. JSON is stable for scripts, dashboards, and custom annotations. SARIF is designed for code-scanning integrations.
npx optiprune ./src --reporter json --output optiprune.jsonnpx optiprune ./src --reporter sarif --output optiprune.sarifKeep reports as CI artifacts when you need historical comparison. Avoid committing generated reports unless your project intentionally treats them as release evidence.