MCPcopy
hub / github.com/sveltejs/svelte

github.com/sveltejs/svelte @svelte@5.56.4 sqlite

repository ↗ · DeepWiki ↗ · release svelte@5.56.4 ↗ · compare 2 versions
5,583 symbols 18,173 edges 3,452 files 620 documented · 11%
README

    <img src="https://github.com/sveltejs/svelte/raw/svelte@5.56.4/assets/banner.png" alt="Svelte - web development for the rest of us" />

License Chat

What is Svelte?

Svelte is a new way to build web applications. It's a compiler that takes your declarative components and converts them into efficient JavaScript that surgically updates the DOM.

Learn more at the Svelte website, or stop by the Discord chatroom.

Supporting Svelte

Svelte is an MIT-licensed open source project with its ongoing development made possible entirely by fantastic volunteers. If you'd like to support their efforts, please consider:

Funds donated via Open Collective will be used for compensating expenses related to Svelte's development such as hosting costs. If sufficient donations are received, funds may also be used to support Svelte's development more directly.

Roadmap

You may view our roadmap if you'd like to see what we're currently working on.

Contributing

Please see the Contributing Guide and the svelte package for information on contributing to Svelte.

Is svelte.dev down?

Probably not, but it's possible. If you can't seem to access any .dev sites, check out this SuperUser question and answer.

License

MIT

Extension points exported contracts — how you extend this code

IntrinsicElements (Interface)
* Avoid using this interface directly. Instead use the `SvelteHTMLElements` interface exported by `svelte/elements` *
packages/svelte/svelte-html.d.ts
Readable (Interface)
Readable interface for subscribing.
packages/svelte/types/index.d.ts
Processed_1 (Interface)
* The result of a preprocessor run. If the preprocessor does not return a result, it is assumed that the code is unchang
packages/svelte/types/index.d.ts
PreprocessorGroup_1 (Interface)
* A preprocessor group is a set of preprocessors that are applied to a Svelte file.
packages/svelte/types/index.d.ts
SveltePreprocessor_1 (Interface)
* @description Utility type to extract the type of a preprocessor from a preprocessor group * @deprecated Create this
packages/svelte/types/index.d.ts

Core symbols most depended-on inside this repo

flushSync
called by 1673
packages/svelte/src/internal/client/reactivity/batch.js
push
called by 1242
packages/svelte/src/internal/server/renderer.js
tick
called by 815
packages/svelte/tests/runtime-browser/custom-elements-samples/html/_config.js
ok
called by 302
packages/svelte/tests/runtime-legacy/shared.ts
set
called by 291
packages/svelte/src/motion/public.d.ts
get
called by 256
packages/svelte/tests/runtime-runes/samples/derived-dep-set-while-rendering/store.svelte.js
get
called by 184
packages/svelte/src/reactivity/map.js
e
called by 180
packages/svelte/src/compiler/errors.js

Shape

Function 4,757
Interface 360
Method 314
Class 152

Languages

TypeScript100%

Modules by API surface

packages/svelte/src/compiler/errors.js186 symbols
packages/svelte/types/index.d.ts135 symbols
packages/svelte/src/compiler/warnings.js85 symbols
packages/svelte/src/compiler/print/index.js63 symbols
packages/svelte/elements.d.ts60 symbols
packages/svelte/src/compiler/utils/builders.js56 symbols
packages/svelte/src/compiler/phases/scope.js53 symbols
packages/svelte/src/compiler/types/template.d.ts46 symbols
packages/svelte/src/internal/client/reactivity/batch.js42 symbols
packages/svelte/src/compiler/legacy.js41 symbols
packages/svelte/src/internal/server/renderer.js39 symbols
packages/svelte/src/compiler/migrate/index.js37 symbols

Dependencies from manifests, versioned

@changesets/cli2.29.8 · 1×
@eslint/js10.0.0 · 1×
@jridgewell/remapping2.3.4 · 1×
@jridgewell/sourcemap-codec1.5.0 · 1×
@jridgewell/trace-mapping0.3.25 · 1×
@playwright/test1.60.0 · 1×
@rollup/plugin-commonjs28.0.1 · 1×
@rollup/plugin-node-resolve15.3.0 · 1×
@rollup/plugin-terser0.4.4 · 1×
@rollup/plugin-virtual3.0.2 · 1×
@sveltejs/acorn-typescript1.0.10 · 1×
@sveltejs/eslint-config9.0.0 · 1×

For agents

$ claude mcp add svelte \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact