# sveltejs/svelte

> svelte is a compiler for building web applications from declarative components. It takes those components and converts them into JavaScript that updates the DOM directly. The code is written mainly in JavaScript, with Svelte component files as its input.

Source: https://github.com/sveltejs/svelte
Indexed: commit 90ad4e8 on 2026-11-21 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Language: JavaScript
- Stars: 89,840 at index time
- License: MIT
- Code health: 8.8/10, Excellent
- Last commit: 2026-11-21
- Contributors: 118

## How it works

The core library is in packages/svelte, and its client and server entry points are packages/svelte/src/index-client.js and packages/svelte/src/index-server.js. Compiler code lives under packages/svelte/src/compiler, including packages/svelte/src/compiler/print/index.js. Client-side runtime code under packages/svelte/src/internal/client handles reactivity, for example in packages/svelte/src/internal/client/reactivity/batch.js. Server-side rendering is handled in packages/svelte/src/internal/server/renderer.js. The packages/svelte/types/index.d.ts file provides TypeScript type declarations, and the benchmarking and playgrounds directories contain the entry points benchmarking/run.js and playgrounds/sandbox/run.js.

- benchmarking/benchmarks/ssr/wrapper/App.svelte: entry point
- benchmarking/run.js: entry point
- packages/svelte/src/index-client.js: entry point
- packages/svelte/src/index-server.js: entry point
- playgrounds/sandbox/run.js: entry point
Modules: packages, benchmarking, playgrounds, root. 9,905 files, 159,960 lines, 18,413 symbols.

## Code health

- Score: 8.8/10 (Excellent)
- Rank: not ranked (not on a leaderboard yet)
- Hotspots: packages/svelte/src/internal/client/reactivity/batch.js, packages/svelte/src/compiler/print/index.js, packages/svelte/src/internal/client/dom/elements/attributes.js, packages/svelte/types/index.d.ts, packages/svelte/src/internal/server/renderer.js
- Lowest file: packages/svelte/src/internal/client/reactivity/batch.js
- Dead code: none found

## Maintenance

- Last commit 2026-11-21, 500 commits
- 118 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/sveltejs/svelte/security

## More

- Page: https://repowise.dev/repo/sveltejs/svelte
- Ask this codebase: https://repowise.dev/repo/sveltejs/svelte/chat
- Docs: https://repowise.dev/repo/sveltejs/svelte/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/sveltejs/svelte
