# sveltejs/svelte SLOC report

> As of 2026-09-20 (commit 636eaaaa6f06), sveltejs/svelte contains 100,505 total lines: 58,797 code, 25,162 comments, 16,546 blank, across 506 files in 8 languages (top: JavaScript 78.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

sveltejs/svelte has 58,797 source lines of code out of 100,505 total lines across 506 files, counted from the main ref at commit 636eaaaa6f06 by the OctoCounts tokei engine on 2026-09-20. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving sveltejs/svelte to commit 636eaaaa6f06, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 58.5% of all lines, comments represent 25.0%, and the repository averages 116 code lines per file. JavaScript accounts for 78.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JavaScript | 410 | 69,100 | 45,880 | 14,355 | 8,865 |
| TypeScript | 53 | 13,741 | 8,288 | 4,130 | 1,323 |
| YAML | 2 | 4,601 | 3,606 | 0 | 995 |
| HTML | 2 | 419 | 415 | 1 | 3 |
| JSON | 11 | 388 | 388 | 0 | 0 |
| CSS | 1 | 246 | 209 | 0 | 37 |
| Svelte | 2 | 13 | 11 | 0 | 2 |
| Markdown | 25 | 11,997 | 0 | 6,676 | 5,321 |

Top language (JavaScript 78.0%). Generated at 2026-09-20T07:44:23.869897544+00:00. Canonical report: https://octocounts.com/github/sveltejs/svelte

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/sveltejs/svelte/commit/636eaaaa6f064b55072e7d192bb76dc9d8c4516e?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does sveltejs/svelte have?

sveltejs/svelte has 100,505 total lines, including 58,797 code lines, 25,162 comment lines, and 16,546 blank lines.

### How was the sveltejs/svelte line count measured?

OctoCounts resolved the public GitHub repository to commit 636eaaaa6f06, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for sveltejs/svelte?

This OctoCounts report was generated from main at commit 636eaaaa6f06 on 2026-09-20T07:44:23.869897544+00:00.

## Similar repository reports

- [marketcalls/openalgo-js-indicator-library](https://octocounts.com/github/marketcalls/openalgo-js-indicator-library) — JavaScript, 56,173 code lines
- [EdgeTypE/better-deepseek](https://octocounts.com/github/EdgeTypE/better-deepseek) — JavaScript, 55,379 code lines
- [etoyatv/etoyatv](https://octocounts.com/github/etoyatv/etoyatv) — JavaScript, 55,371 code lines
- [shen100/wemall](https://octocounts.com/github/shen100/wemall) — JavaScript, 54,373 code lines
- [Aimilibot/X-MILI](https://octocounts.com/github/Aimilibot/X-MILI) — JavaScript, 63,274 code lines
- [lowlighter/metrics](https://octocounts.com/github/lowlighter/metrics) — JavaScript, 53,890 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [React vs Vue](https://octocounts.com/compare/react-vs-vue)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Vite vs webpack](https://octocounts.com/compare/vite-vs-webpack)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
