52
Diagnose and fix performance, correctness, and architecture issues in your Svelte codebase. This comprehensive diagnostic tool analyzes your Svelte projects for security vulnerabilities, performance bottlenecks, architectural issues, and Svelte 4-to-5 migration patterns. Run a single command to scan your entire codebase and receive a 0–100 health score with actionable, line-specific diagnostics.
Install svelte-doctor globally to use it from anywhere in your terminal. It supports installation via npm, pnpm, and bun. The tool offers various commands such as check for scanning projects, fix for auto-fixing issues, migrate for auto-migrating Svelte 4 syntax to Svelte 5, and more. It also provides a Node.js API for programmatic access.
Built with