# vitejs/vite SLOC report

> vitejs/vite: 81,496 code lines at commit 3b72997d42e7, counted with tokei-14.0.0 on 2026-10-10. Saved result 7105c88fab89c89ebae839d314fe9988aa553f224b5a1757b2c1d6085fa93a12.

vitejs/vite has 81,496 source lines of code out of 107,470 total lines across 2,035 files, counted from the main ref at commit 3b72997d42e7 by the OctoCounts tokei engine on 2026-10-10. 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 vitejs/vite to commit 3b72997d42e7, 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 75.8% of all lines, comments represent 12.4%, and the repository averages 40 code lines per file. TypeScript accounts for 58.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 336 | 58,590 | 47,427 | 6,359 | 4,804 |
| YAML | 2 | 14,543 | 11,455 | 0 | 3,088 |
| JavaScript | 818 | 10,756 | 9,109 | 573 | 1,074 |
| CSS | 195 | 5,070 | 4,463 | 20 | 587 |
| JSON | 324 | 4,131 | 4,103 | 0 | 28 |
| HTML | 154 | 3,412 | 2,935 | 16 | 461 |
| SVG | 88 | 615 | 600 | 5 | 10 |
| TSX | 13 | 520 | 481 | 1 | 38 |
| JSX | 9 | 494 | 462 | 1 | 31 |
| Svelte | 6 | 184 | 174 | 0 | 10 |
| Sass | 32 | 154 | 138 | 2 | 14 |
| LESS | 11 | 75 | 58 | 7 | 10 |
| Stylus | 6 | 35 | 24 | 5 | 6 |
| Vue | 6 | 38 | 24 | 7 | 7 |
| PostCSS | 4 | 17 | 14 | 0 | 3 |
| Shell | 1 | 10 | 9 | 1 | 0 |
| Pug | 1 | 8 | 8 | 0 | 0 |
| TOML | 1 | 8 | 7 | 1 | 0 |
| Astro | 1 | 6 | 5 | 0 | 1 |
| Markdown | 21 | 8,798 | 0 | 6,334 | 2,464 |
| Plain Text | 6 | 6 | 0 | 6 | 0 |

Top language (TypeScript 58.2%). Generated at 2026-10-10T00:21:53.810906944Z. Canonical report: https://octocounts.com/github/vitejs/vite/commit/3b72997d42e7dd2b31898d0e68461e3025e836b6?reportId=7105c88fab89c89ebae839d314fe9988aa553f224b5a1757b2c1d6085fa93a12&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/vitejs/vite/commit/3b72997d42e7dd2b31898d0e68461e3025e836b6?reportId=7105c88fab89c89ebae839d314fe9988aa553f224b5a1757b2c1d6085fa93a12&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 vitejs/vite have?

vitejs/vite has 107,470 total lines, including 81,496 code lines, 13,338 comment lines, and 12,636 blank lines.

### How was the vitejs/vite line count measured?

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

### What commit was counted for vitejs/vite?

This OctoCounts report was generated from main at commit 3b72997d42e7 on 2026-10-10T00:21:53.810906944Z.

## Similar repository reports

- [shader-effects-inc/shaders](https://octocounts.com/github/shader-effects-inc/shaders) — TypeScript, 82,166 code lines
- [liguobao/ds-harness-remote](https://octocounts.com/github/liguobao/ds-harness-remote) — TypeScript, 80,704 code lines
- [Crosstalk-Solutions/project-nomad](https://octocounts.com/github/Crosstalk-Solutions/project-nomad) — TypeScript, 83,260 code lines
- [luobochuanqi/cyber-stray](https://octocounts.com/github/luobochuanqi/cyber-stray) — TypeScript, 83,492 code lines
- [mihomo-party-org/clash-party](https://octocounts.com/github/mihomo-party-org/clash-party) — TypeScript, 79,766 code lines
- [Jhoseto/news-point-app](https://octocounts.com/github/Jhoseto/news-point-app) — TypeScript, 83,802 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)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [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)
