# sveltejs/svelte SLOC report

> sveltejs/svelte: 58,892 code lines at commit 50e3d28e1bb6, counted with tokei-14.0.0 on 2026-10-21. Saved result 049104ff8db448a31ba80512f6eeb5a7be4f988ab3fcafd45e115bd18161d875.

sveltejs/svelte has 58,892 source lines of code out of 100,686 total lines across 506 files, counted from the main ref at commit 50e3d28e1bb6 by the OctoCounts tokei engine on 2026-10-21. 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 50e3d28e1bb6, 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,209 | 45,962 | 14,373 | 8,874 |
| TypeScript | 53 | 13,759 | 8,301 | 4,130 | 1,328 |
| 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 | 12,051 | 0 | 6,703 | 5,348 |

Top language (JavaScript 78.0%). Generated at 2026-10-21T03:16:35.154001062Z. Canonical report: https://octocounts.com/github/sveltejs/svelte/commit/50e3d28e1bb6b21b6f6bbeffed1d4718c1af19fc?reportId=049104ff8db448a31ba80512f6eeb5a7be4f988ab3fcafd45e115bd18161d875&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

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

## Report FAQ

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

sveltejs/svelte has 100,686 total lines, including 58,892 code lines, 25,207 comment lines, and 16,587 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 50e3d28e1bb6, 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 50e3d28e1bb6 on 2026-10-21T03:16:35.154001062Z.

## Similar repository reports

- [NanmiCoder/dsh-agent-teams](https://octocounts.com/github/NanmiCoder/dsh-agent-teams) — JavaScript, 60,142 code lines
- [slow-stack/mneme](https://octocounts.com/github/slow-stack/mneme) — JavaScript, 56,274 code lines
- [404-PF/New-Tab](https://octocounts.com/github/404-PF/New-Tab) — JavaScript, 61,727 code lines
- [marketcalls/openalgo-js-indicator-library](https://octocounts.com/github/marketcalls/openalgo-js-indicator-library) — JavaScript, 56,173 code lines
- [etoyatv/etoyatv](https://octocounts.com/github/etoyatv/etoyatv) — JavaScript, 55,371 code lines
- [Nehanth/pooled](https://octocounts.com/github/Nehanth/pooled) — JavaScript, 62,713 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)
