Latest updateRead the latest release note →
Quickstart
Create a baseline
Section titled “Create a baseline”npm install --save-dev @optiprune/clinpx optiprune ./src --entry src/index.ts --dry-runRead the report
Section titled “Read the report”Start with unreachable files and high-confidence unused imports. Confirm that your entry points include the application, test runner, and any package exports that are consumed externally.
Add the check to CI
Section titled “Add the check to CI”npx optiprune ./src --entry src/index.ts --fail-on high --reporter sarif --output optiprune.sarifAfter the baseline is clean, review medium-confidence findings as a normal engineering task rather than turning them into automatic deletions.