Astro vs Svelte
In 4,864 JavaScript/TypeScript projects set up for AI coding agents, Astro is a dependency in 118 (2.4%) and Svelte in 85 (1.7%): Astro is 1.4× as common. Among repos created in the last 90 days that use a web frameworks tool, Astro is in 6.6% and Svelte in 4.9%, against 4.5% and 3.2% of older ones. 6 projects list both, often a sign of a migration or of a monorepo with several apps.
Web frameworks npm Updated Nov 17, 2026
Side by side
| Astro | Svelte | |
|---|---|---|
| Agent projects that use it | 118 | 85 |
| Rank in web frameworks | #6 | #9 |
| In new repos with a web frameworks tool (last 90 days) | 6.6% | 4.9% |
| In older repos with one | 4.5% | 3.2% |
| Downloads, last 7 days | 12M | 9.8M |
| GitHub stars | 64K | 89.1K |
| Last push to its repo | Nov 17, 2026 | Nov 16, 2026 |
| License | MIT | MIT |
| Funding | Yes | Yes |
| Projects that list both | 6 | |
Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.
By coding agent
| Projects set up for | JavaScript/TypeScript repos | Astro | Svelte |
|---|---|---|---|
| Claude Code | 2,617 | 2.4% | 1.8% |
| GitHub Copilot | 2,350 | 3.0% | 2.1% |
| Cursor | 1,990 | 2.1% | 1.4% |
| Gemini CLI | 422 | 2.1% | 0% |
| OpenAI Codex | 409 | 1.2% | 1.2% |
| OpenCode | 304 | 3.0% | 3.3% |
Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.
Astro
Modern static site builder with partial hydration and zero JavaScript by default.
Most often used with it:
| Tailwind CSS | 68.6% of its projects |
|---|---|
| Wrangler | 27.1% of its projects |
| TypeScript | 67.8% of its projects |
| Playwright (JavaScript) | 34.7% of its projects |
| Sharp | 16.9% of its projects |
npm install astro
Svelte
Compiler-based frontend framework for building reactive web interfaces with less boilerplate.
Most often used with it:
| Vite | 91.8% of its projects |
|---|---|
| svelte-check | 85.9% of its projects |
| Prettier | 75.3% of its projects |
| Tailwind CSS | 76.5% of its projects |
| TypeScript | 96.5% of its projects |
npm install svelte
More matchups
Next.js vs AstroVue vs AstroReact vs SvelteVue vs SvelteReact vs VueReact vs AngularNext.js vs NuxtReact Router vs TanStack Router
How we count
Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.