Real code and dependency hygiene checks
Scan source files, scripts, and package manifests to find unused dependencies, missing declarations, unused files, unused exports, and suspicious dependency placement.
Find unused packages, unused files, and unused exports, then layer optional AI summaries on top of real dependency findings.
npx sadrazam .
npx sadrazam . --reporter json
npx sadrazam . --reporter toon
npx sadrazam . --trace typescript
AI_PROVIDER=openai AI_TOKEN=your_token npx sadrazam . --aidependencies and devDependencies--trace--fix and --fix --format cleanupJavaScript projects collect dependencies over time. Some stop being used. Some stay in the wrong dependency bucket. Some stay around simply because nobody has enough visibility to remove them with confidence.
Sadrazam is built to make that visible quickly, with output that is useful both in local development and in CI.
sadrazam .sadrazam . --workspace packages/websadrazam . --reporter json
sadrazam . --reporter toonAI_PROVIDER=openai AI_TOKEN=your_token sadrazam . --ai