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.
As of 2026-10-10 (commit 3b72997d42e7), vitejs/vite contains 107,470 total lines: 81,496 code, 13,338 comments, 12,636 blank, across 2,035 files in 21 languages (top: TypeScript 58.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
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.
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 | 58590 | 47427 | 6359 | 4804 |
| YAML | 2 | 14543 | 11455 | 0 | 3088 |
| JavaScript | 818 | 10756 | 9109 | 573 | 1074 |
| CSS | 195 | 5070 | 4463 | 20 | 587 |
| JSON | 324 | 4131 | 4103 | 0 | 28 |
| HTML | 154 | 3412 | 2935 | 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 |
Top language (TypeScript 58.2%). Generated at .
vitejs/vite has 107,470 total lines, including 81,496 code lines, 13,338 comment lines, and 12,636 blank lines.
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.
This OctoCounts report was generated from main at commit 3b72997d42e7 on 2026-10-10T00:21:53.810906944+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for vitejs/vite on this page — 81,496 code lines across 12 languages, counted by tokei.