# svelte-check: 7.8 out of 10

A strong pick. 2nd of 10 in [Type checkers](https://elestia.ai/opensource/type-checkers/index.md).

svelte-check is the Svelte team's official command-line checker. It type-checks .svelte files together with TypeScript and JavaScript, and reports Svelte compiler, accessibility and CSS warnings. For a Svelte project it is the one to pick, even though it is slow on large codebases and TypeScript 7 support is still opt-in.

**Best for:** Any Svelte or SvelteKit project that needs type errors and compiler warnings checked in CI or before commits.

## Scores

- **Overall: 7.8** (likely 6.7 to 8.7)
  - Claude Opus 5.5 (7.5): For Svelte projects it is the default and has no real replacement. It is official, actively maintained, safe, and growing faster than the median. It stays below the top band because it is slow on large codebases and TypeScript 7 support is still behind flags. It also serves only Svelte, so it ranks next to vue-tsc and astro check rather than tsc.
  - GPT-6.2 Sol (8.0): Pick svelte-check for new Svelte or SvelteKit projects that need component-aware checks in CI. Its framework integration and regular fixes make it a strong specialist, while tsc is the general-purpose choice for plain TypeScript. TypeScript 7 setup and gaps in the faster modes keep the recommendation below the top tier.
- **Needed by many: 3.5** (likely 2.5 to 4.6)
  - Claude Opus 5.5 (3.5): It serves only developers who write Svelte components. That is a clear but limited share of JS and TS developers, narrower than general checkers such as tsc. Within Svelte projects it is needed almost everywhere, because SvelteKit templates include it.
  - GPT-6.2 Sol (3.5): Type checking is broadly useful, but this tool's main audience is developers who work with `.svelte` files. In Stack Overflow's 2026 web technology survey, 7.8% of respondents used Svelte, compared with 17.2% for Vue. That measures framework use and gives an approximate ceiling for demand within that survey.
- **Helps a lot: 7.8** (likely 6.7 to 8.7)
  - Claude Opus 5.5 (7.5): It is the only complete checker for Svelte files. It covers types, compiler warnings, accessibility hints and unused CSS, with watch mode and machine output. Speed is its clear limit: the default mode is slow on big projects. The newer --incremental and --tsgo modes help but have documented differences in results, and recent releases are still fixing them.
  - GPT-6.2 Sol (8.0): The default checker uses the project's TypeScript configuration and reports errors in Svelte templates and JS or TS files. Documented machine-readable output gives CI and coding agents precise source locations. TypeScript 7 needs an opt-in mode with both compiler versions installed, and users have reported missed diagnostics in the faster modes. A competing checker's benchmark found substantial room for speed gains on one large monorepo, with limited evidence across other project layouts.
- **Holds up over time: 8.3** (likely 7.1 to 9.2)
  - Claude Opus 5.5 (8.5): Core Svelte maintainers work on it, and the repo shows 77 releases and 165 commits in the last year, with 184 contributors. It is already being adapted to TypeScript 7.1 APIs. One risk is that the move to TypeScript 7 depends on Microsoft's API timeline, so the checker's internals will still change.
  - GPT-6.2 Sol (8.0): The package shipped 22 versions in the past year, and recent patches address file coverage and config errors. It ships in the official SvelteKit starter, and Vercel sponsors the wider Svelte project. The TypeScript 7 transition still depends on upstream APIs, and the breadth of release access is unclear.
- **Used widely: 5.9** (likely 4.9 to 6.9)
  - Claude Opus 5.5 (6.0): It had 18.3M downloads in the last 4 weeks, up from 2.8M a year ago. That is a ratio of about 6.5, above the 4.1 median, so it is gaining ground. It has 19.5k dependent repos and 4.3k dependent packages. Most installs come from SvelteKit templates rather than separate choices, but each one is still a Svelte project that uses it.
  - GPT-6.2 Sol (5.8): Four-week downloads grew 6.5× year over year, ahead of the 4.1× catalog median and vue-tsc's 3.7×. The index found about 19,500 dependent repos and 4,300 dependent packages, with fewer repos than vue-tsc's roughly 35,000. Starter defaults and repeated CI installs blur how many teams actively chose it, while the 1,451 stars and six Bluesky posts cover the shared language-tools repository.
- **Vouched for: 6.9** (likely 5.9 to 8.2)
  - Claude Opus 5.5 (6.0): Svelte's official CLI and SvelteKit templates build on it, and every Svelte shop that runs CI type checks uses it. There are few independent reviews. Most third-party write-ups are rewrites that point at its speed while keeping its behaviour as the reference for correct results.
  - GPT-6.2 Sol (7.8): The official Svelte tooling includes it, and Appwrite Console and Open WebUI use it to type-check their front ends. Immich also runs it for Svelte diagnostics alongside a separate TypeScript check. Those are direct examples from real projects, while developer survey ratings apply to Svelte and SvelteKit as a whole.
- **Safe: 7.9** (likely 6.8 to 8.8)
  - Claude Opus 5.5 (8.0): It has no advisories on record, 6 dependencies and an MIT licence. The OpenSSF Scorecard is 7, with strong code review and token permissions. The weak checks are unpinned dependencies, SAST, fuzzing and partial branch protection. As a dev-time tool it does not ship in production bundles.
  - GPT-6.2 Sol (7.7): The MIT-licensed development tool has six direct dependencies and no recorded OSV advisories. Its GitHub release workflow is configured to publish to npm with provenance, and the repository scores well on code review and token permissions. Unpinned workflow actions, partial branch protection, and unclear publisher access leave room for supply-chain risk.

## Good

- It is the official checker that understands .svelte files, runes, and the types SvelteKit generates, so nothing else is as complete for Svelte.
- The core Svelte team maintains it and ships releases often, 22 versions of the package in the last year.
- Machine-readable output modes and a watch mode make it easy to use in CI and in editors.
- It has few dependencies, no known advisories and an MIT licence.

## Bad

- The default mode runs on TypeScript's language service, which makes it slow on large projects. Third-party rewrites report it at roughly 2x slower cold and much slower on warm reruns.
- TypeScript 7 support needs the --tsgo or --tsgo-experimental-api flag, with TypeScript 6 and 7 installed side by side.
- The --incremental and --tsgo modes can give slightly different results and do not load Svelte files outside the tsconfig root properly.
- It is useful only in Svelte projects.

## The numbers

- Downloads, 4 weeks: 18M
- In a year: ×6.5
- GitHub stars: 1.5k
- Commits, 12 months: 165
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/sveltejs/language-tools
- npm: https://www.npmjs.com/package/svelte-check

The repository holds all of Svelte’s language tools.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
