vitejs/vite

vitejs/vite has 84,057 source lines of code out of 110,505 total lines across 2,133 files, counted with tokei from the main ref at commit 9a8d1a98922c on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-16 (commit 9a8d1a98922c), vitejs/vite contains 110,505 total lines: 84,057 code, 13,648 comments, 12,800 blank, across 2,133 files in 21 languages (top language: TypeScript 59.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-16 (commit 9a8d1a98922c), vitejs/vite contains 110,505 total lines: 84,057 code, 13,648 comments, 12,800 blank, across 2,133 files in 21 languages (top language: TypeScript 59.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving vitejs/vite to commit 9a8d1a98922c, 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.

Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 76.1% of all lines, comments represent 12.4%, and the repository averages 39 code lines per file. TypeScript accounts for 59.3% of counted code.

LanguageFilesLinesCodeCommentsBlanks
TypeScript345613074983465664907
YAML2141171113322982
JavaScript8801106293086121142
CSS1975086447620590
JSON33642584230028
HTML1603553306021472
SVG88615600510
TSX13520481138
JSX9496464131
Svelte6184174010
Sass34160143215
LESS138163711

Top language: TypeScript 59.3%. Generated on .

Counting rules and retention

vitejs/vite: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does vitejs/vite have?

vitejs/vite has 84,057 lines of code, plus 13,648 comment lines and 12,800 blank lines, for 110,505 total lines at commit 9a8d1a98922c on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the vitejs/vite line count measured?

OctoCounts resolved the public GitHub repository to commit 9a8d1a98922c, 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 9a8d1a98922c on November 16, 2026.

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 — 84,057 code lines across 21 languages, counted by tokei.