Skip to content
JS
Package

svelte-highlight

Svelte component library for highlighting code using highlight.js

v7.22.0, 22 Sept 2026MITESM onlyTypes: BundledSvelteTypeScript tooling
$ npm install svelte-highlight

Key numbers

As of 25 Sept 2026
Weekly downloads
31.3k
+109% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 days ago
v7.22.0
GitHub stars
338
15 forks
Open issues / PRs
1 / 7
Contributors
-
Commits, last 52 weeks
1,120

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 70.4k (18 Aug 2026)Low 11.5k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

31,310 downloads last week, 171,670 in the last month. The 12-month change of +109% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
7.22.0, 22 Sept 20263 days ago
First published
-
Last push to GitHub
22 Sept 20263 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
7
Commits, last 52 weeks
1,120
Dependents on npm
27

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
6.7 MB
Dependencies (0)
None
npm install svelte-highlight
  • jsDelivrhttps://cdn.jsdelivr.net/npm/svelte-highlight@7.22.0/
  • unpkghttps://unpkg.com/svelte-highlight@7.22.0/
  • esm.shhttps://esm.sh/svelte-highlight@7.22.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@melt-ui/svelte129.6k-1 year agoESM only-
@magidoc/plugin-svelte-prismjs10k-1 month agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.