# astro check: 6.2 out of 10

Reasonable, with limits. 5th of 10 in [Type checkers](https://elestia.ai/opensource/type-checkers/index.md).

astro check (@astrojs/check) is the official command-line type checker for Astro projects. It checks .astro files and the TypeScript around them, which plain tsc cannot do. If you build with Astro, it is the tool to use, but it does nothing outside Astro and still runs on the older JavaScript TypeScript API.

**Best for:** Teams that build sites with Astro and want type errors in .astro files caught in CI.

## Scores

- **Overall: 6.2** (likely 5.1 to 7.3)
  - Claude Opus 5.5 (6.0): For Astro projects it is the right and only real choice for checking .astro files, and it is well maintained by the core team. It is narrow, it has memory problems on large projects, and it is still 0.x. It also lags the move to TypeScript 7, while tsc and tsgo serve general TypeScript better. It ranks with svelte-check and vue-tsc as a framework-specific tool, a little below them on adoption evidence.
  - GPT-6.2 Sol (6.4): `astro check` is the practical stable choice for checking `.astro` components on TypeScript 6. For a plain TypeScript project, `tsc` is the stronger default. The planned deprecation limits the recommendation for new Astro projects, and the range reflects uncertainty about when the native replacement will be ready for routine use.
- **Needed by many: 3.3** (likely 2.3 to 4.3)
  - Claude Opus 5.5 (3.0): Only developers who build with Astro need it, so it serves a clear niche within type checking. Astro is a popular framework for content sites, which makes the niche sizable, but it is far smaller than the audience for tsc.
  - GPT-6.2 Sol (3.5): Type checking is a broad need, and this command serves projects that use Astro. Its main value is checking `.astro` components, much as `vue-tsc` serves Vue and `svelte-check` serves Svelte. State of JavaScript shows growing interest in Astro, while the share of developers who need this specific checker is harder to estimate.
- **Helps a lot: 6.7** (likely 5.7 to 7.8)
  - Claude Opus 5.5 (6.0): It does its one job well: tsc-style diagnostics for .astro files, a watch mode, and a tsconfig flag, all built on the mature Volar stack. Its limits are clear. Large projects can run out of memory. It cannot use the 10x faster TypeScript 7 native compiler, and the language server ignores tsconfig TypeScript plugins in .astro frontmatter. Recent fixes to basic CLI argument handling also show rough edges.
  - GPT-6.2 Sol (7.4): Version 0.9.12 checks Astro templates alongside ordinary project files and provides file locations, severity levels, and a documented CI command that developers and coding agents can use. It also ships the fix for a per-file delay that a user measured on both a generated test and a real project. TypeScript 7 remains unsupported, and performance evidence across larger projects is limited.
- **Holds up over time: 5.9** (likely 4.1 to 7.1)
  - Claude Opus 5.5 (7.0): The Astro core team maintains it in a very active monorepo, with 7 releases in the last year and the latest in October 2026. Astro is funded and widely co-maintained. The main risk is the move to TypeScript 7, which drops the old JavaScript API that Volar-based tools depend on. Astro has not published a clear plan for that move, so the range is wide.
  - GPT-6.2 Sol (4.7): The checker published seven versions in the past year, and Astro shipped a fix for a reported CI exit-code problem in 7.4.6. Cloudflare backs the Astro team. Astro’s CLI announces a future deprecation and points to `tsc` with an experimental content mapper for TypeScript 7.1 and later, so the timing and effort of a migration remain uncertain.
- **Used widely: 5.2** (likely 3.4 to 6.5)
  - Claude Opus 5.5 (6.0): It had 24M downloads in the last 4 weeks, up from 1.45M a year ago. That ratio of about 16.5 is far above the median of 4.1, but templates and CI installs inflate it. ecosyste.ms lists only 114 dependent repos, far fewer than svelte-check's 19.5k or vue-tsc's 34.7k, though that count may miss this scoped package. My estimate is tens of thousands of Astro projects, and the number is growing.
  - GPT-6.2 Sol (4.4): Four-week npm downloads grew 16.5× year over year, well above the 4.1× catalog median and faster than `vue-tsc` or `svelte-check`. The dependent index found 114 repositories and 144 packages, with far fewer repositories than either peer. Repeat installs, partial repository coverage, and framework-wide GitHub and Bluesky figures leave the number of projects choosing the checker uncertain.
- **Vouched for: 5.9** (likely 4.3 to 6.9)
  - Claude Opus 5.5 (5.0): It is the official tool, and the Astro docs recommend it, so Astro projects use it by default. I found no independent benchmarks, survey data or write-ups about the checker itself. Its Hacker News and Bluesky attention is really about Astro as a whole.
  - GPT-6.2 Sol (6.7): Bootstrap and Cloudflare use `astro check` for their documentation sites, and the independent Web Check project runs it before building. These are concrete examples of teams relying on the checker. The survey measures satisfaction with Astro as a framework, and the available checker benchmark covers one reported bottleneck.
- **Safe: 8.0** (likely 6.9 to 9.1)
  - Claude Opus 5.5 (8.0): It has no advisories, an MIT licence and only 4 direct dependencies, though the language server and Volar bring in more. A large organisation publishes it from a monorepo with release automation. No Scorecard data was available, so the range stays at two points.
  - GPT-6.2 Sol (8.0): The package uses the MIT licence, has four direct dependencies, and has no advisories in the supplied OSV data. Astro publishes through GitHub Actions, the 0.9.12 release points to a verified commit, and the package audit lists two maintainers. The language server adds transitive dependencies, and the absent OpenSSF Scorecard and unverified release permissions limit confidence.

## Good

- It is the only tool that type-checks .astro components and their frontmatter, and the Astro docs recommend it for that job.
- The Astro core team maintains it in the Astro monorepo, and it keeps pace with Astro releases such as Astro 6.
- It has a small footprint: 4 dependencies, an MIT licence and no known advisories.
- It runs on Volar, the same language-tools base as vue-tsc, so editor and CLI diagnostics match.

## Bad

- It only helps Astro projects. For Vue or Svelte islands you still need vue-tsc or svelte-check.
- Users report out-of-memory crashes on large projects, and raising the Node heap limit does not always fix them.
- It is built on the JavaScript TypeScript API, so it cannot use the faster native TypeScript 7 compiler yet.
- It is still at version 0.x, and recent releases fixed basic CLI bugs, such as the first two command-line arguments being ignored.

## The numbers

- Downloads, 4 weeks: 24M
- In a year: ×17
- GitHub stars: 64k
- Commits, 12 months: 2.4k
- Last npm release: Oct 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/withastro/astro
- npm: https://www.npmjs.com/package/@astrojs/check

The repository is Astro’s, so its stars and activity are not for the type checker.

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.
