vitejs/vite

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.

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.

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.

LanguageFilesLinesCodeCommentsBlanks
TypeScript336585904742763594804
YAML2145431145503088
JavaScript8181075691095731074
CSS1955070446320587
JSON32441314103028
HTML1543412293516461
SVG88615600510
TSX13520481138
JSX9494462131
Svelte6184174010
Sass32154138214
LESS117558710

Top language (TypeScript 58.2%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

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.810906944+00:00.

Similar repository reports

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.