# sveltejs/svelte SLOC report

> As of 2026-09-01 (commit 4bf15ae6f304), sveltejs/svelte contains 99,892 total lines: 58,402 code, 25,050 comments, 16,440 blank, across 504 files in 8 languages (top: JavaScript 77.9%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving sveltejs/svelte to commit 4bf15ae6f304, 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.1%, and the repository averages 116 code lines per file. JavaScript accounts for 77.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JavaScript | 409 | 68,573 | 45,494 | 14,290 | 8,789 |
| TypeScript | 53 | 13,731 | 8,280 | 4,130 | 1,321 |
| YAML | 2 | 4,601 | 3,606 | 0 | 995 |
| HTML | 2 | 419 | 415 | 1 | 3 |
| JSON | 11 | 387 | 387 | 0 | 0 |
| CSS | 1 | 246 | 209 | 0 | 37 |
| Svelte | 2 | 13 | 11 | 0 | 2 |
| Markdown | 24 | 11,922 | 0 | 6,629 | 5,293 |

Top language (JavaScript 77.9%). Generated at 2026-09-01T07:47:59.466801145+00:00. Canonical report: https://octocounts.com/github/sveltejs/svelte

## Report FAQ

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

sveltejs/svelte has 99,892 total lines, including 58,402 code lines, 25,050 comment lines, and 16,440 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 4bf15ae6f304, 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 4bf15ae6f304 on 2026-09-01T07:47:59.466801145+00:00.

## Similar repository reports

- [zakirullin/files.md](https://octocounts.com/github/zakirullin/files.md) — JavaScript, 57,629 code lines
- [etoyatv/etoyatv](https://octocounts.com/github/etoyatv/etoyatv) — JavaScript, 55,371 code lines
- [lowlighter/metrics](https://octocounts.com/github/lowlighter/metrics) — JavaScript, 53,890 code lines
- [Aimilibot/X-MILI](https://octocounts.com/github/Aimilibot/X-MILI) — JavaScript, 63,274 code lines
- [uniplore/one-api](https://octocounts.com/github/uniplore/one-api) — JavaScript, 52,979 code lines
- [gildas-lormeau/SingleFile](https://octocounts.com/github/gildas-lormeau/SingleFile) — JavaScript, 52,422 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
