vitejs/vite has 81,496 source lines of code out of 107,470 total lines across 2,035 files, counted with tokei from the main ref at commit 3b72997d42e7 on October 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
vitejs/vite: 81,496 code lines at commit 3b72997d42e7, counted with tokei-14.0.0 on 2026-10-10. Saved result 7105c88fab89c89ebae839d314fe9988aa553f224b5a1757b2c1d6085fa93a12.
OctoCounts produced this report by resolving vitejs/vite to commit 3b72997d42e7, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
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 |
| 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 | 8798 | 0 | 6334 | 2464 |
| Plain Text | 6 | 6 | 0 | 6 | 0 |
Top language: TypeScript 58.2%. Generated on .
vitejs/vite: counting rules unknown; engine tokei-14.0.0.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
vitejs/vite has 81,496 lines of code, plus 13,338 comment lines and 12,636 blank lines, for 107,470 total lines at commit 3b72997d42e7 on October 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
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 October 10, 2026.
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 21 languages, counted by tokei.