</>PackageGraphPackageGraph

svelte

npmv5.57.0TypeScript

Cybernetically enhanced web apps

Safe to adopt

Yes — svelte scores well across adoption, maintenance, weight, supply chain, and licensing. 4.1M downloads per week and 1 known dependents. Last published 12 days ago. 50 releases in the last 2 years.

  • AAdoption: grade A, Excellent.

    4.1M downloads per week and 1 known dependents.

  • AMaintenance: grade A, Excellent.

    Last published 12 days ago. 50 releases in the last 2 years.

  • BWeight: grade B, Good.

    Pulls in 18 transitive packages, about 4.6 MB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 3 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding svelte to a project.

15
Direct dependencies

Runtime packages this one declares itself.

18
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

4.6 MB
Install size

Unpacked size of this package plus its entire runtime tree.

3
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

Apache-2.0MIT

Every license you inherit by installing svelte, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node >=18
Module format
ESM + CommonJS
TypeScript
Types included
Install scripts
None

svelte vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
sveltethis page4.1M1MIT12 days ago
vite158.6M26MIT1 day ago
express92.8M17MIT1 day ago
next40.6M0MIT1 day ago
socket.io16.2M1MIT1 day ago
fastify8.9M4MIT1 day ago

Dependencies

Declared by svelte v5.57.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (18)

@jridgewell/trace-mapping ^0.3.25@playwright/test ^1.62.0@rollup/plugin-commonjs ^28.0.1@rollup/plugin-node-resolve ^15.3.0@rollup/plugin-terser ^0.4.4@rollup/plugin-virtual ^3.0.2@types/aria-query ^5.0.4@types/node ^20.11.5@types/trusted-types ^2.0.7baseline-browser-mapping ^2.10.32dts-buddy ^0.5.5esbuild ^0.28.1rollup ^4.59.0source-map ^0.7.4tinyglobby ^0.2.12typescript ^5.5.4vitest ^4.1.7web-features ^3.29.0

Used by

Popular packages that depend on svelte.

Relationship graph

Dependencies (left) and dependents (right) of svelte.

Frequently installed together

vitenpm

Native-ESM powered web dev build tool

158.6M/wk26 dependentsMIT
devframenpm

Framework for building one portable devtool integration that runs in any viewer.

0/wk14 dependentsMITTS
vitestnpm

Next generation testing framework powered by Vite

92.7M/wk129 dependentsMITTS
cacnpm

Simple yet powerful framework for building command-line apps.

44M/wk9 dependentsMIT
h3npm

Minimal H(TTP) framework built for high performance and portability.

34.2M/wk8 dependentsMITTS
@devframes/plugin-terminals--assetsnpm

Prebuilt browser assets (SPA) for @devframes/plugin-terminals, served on demand through devframe's remote-assets back-proxy.

732/wk1 dependentsMIT
@xterm/addon-fitnpm

An addon for [xterm.js](https://github.com/xtermjs/xterm.js) that enables fitting the terminal's dimensions to a containing element. This addon requires xterm.js v4+.

0/wk1 dependentsMITTS
colorjs.ionpm

Let’s get serious about color

0/wk4 dependentsMITTS
@types/nodenpm

TypeScript definitions for node

0/wk327 dependentsMITTS
zigptynpm

Tiny, cross-platform PTY library for Node.js, built in Zig, also usable as a standalone Zig package. Supports Linux, macOS, Android and Windows (via ConPTY).

0/wk2 dependents
@devframes/vitenpm

Vite plugin for mounting a devframe inside any Vite-based host (Astro, SolidStart, Nuxt, plain Vite apps).

43.5K/wk4 dependentsMITTS
nosticsnpm

Structured diagnostic code library

0/wk13 dependentsMITTS

Release history

50 releases in the last two years, typically about 4 days apart.

Recent versions of svelte
VersionPublishedSizeLicense
5.57.0latest12 days ago2.8 MBMIT
5.56.1020 days ago2.8 MBMIT
5.56.928 days ago2.7 MBMIT
5.56.81 month ago2.7 MBMIT
5.56.71 month ago2.7 MBMIT
5.56.61 month ago2.7 MBMIT
5.56.51 month ago2.7 MBMIT
5.56.42 months ago2.7 MBMIT
5.56.33 months ago2.7 MBMIT
5.56.23 months ago2.7 MBMIT
5.56.13 months ago2.7 MBMIT
5.56.03 months ago2.7 MBMIT
5.55.103 months ago2.7 MBMIT
5.55.93 months ago2.7 MBMIT
5.55.83 months ago2.7 MBMIT

Overview

svelte is an npm package that cybernetically enhanced web apps. It is very popular, with about 4.1M downloads per week and 1 known dependents in the graph. The latest version is 5.57.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need cybernetically enhanced web apps and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (4.1M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • Large dependency tree (33 direct dependencies) increases install size and audit surface.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use svelte?

Yes — svelte scores well across adoption, maintenance, weight, supply chain, and licensing. 4.1M downloads per week and 1 known dependents. Last published 12 days ago. 50 releases in the last 2 years.

How do I install svelte?

Run `npm install svelte` to add svelte to your npm project.

How many dependencies does svelte have?

svelte declares 33 direct dependencies and pulls in 18 packages in total once its runtime tree is resolved totalling about 4.6 MB on disk.

What license is svelte released under?

svelte is distributed under the MIT license. Its dependency tree also includes: Apache-2.0, MIT.

How popular is svelte?

svelte has approximately 4,093,852 downloads per week and 1 known dependent packages.

Is svelte still maintained?

The most recent release of svelte (v5.57.0) was published 12 days ago.

Does svelte run install scripts?

No. svelte does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.