vitejs/vite

vitejs/vite has 82,161 source lines of code out of 108,142 total lines across 2,076 files, counted with tokei from the main ref at commit 1f60d62b83e2 on November 4, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

vitejs/vite: 82,161 code lines at commit 1f60d62b83e2, counted with tokei-15.0.0 on 2026-11-04. Saved result b21dc5fa12c4498cd5aa88d1d39beb9f2be26ae6dd0a3d8613f8d74ac7d330a8.

OctoCounts produced this report by resolving vitejs/vite to commit 1f60d62b83e2, 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.0% of all lines, comments represent 12.3%, and the repository averages 40 code lines per file. TypeScript accounts for 58.7% of counted code.

LanguageFilesLinesCodeCommentsBlanks
TypeScript339595394824464624833
YAML2143771133913037
JavaScript8461059389405681085
CSS1955070446320587
JSON33242004172028
HTML1563484299720467
SVG88615600510
TSX13520481138
JSX9496464131
Svelte6184174010
Sass32154138214
LESS117558710
Stylus6352456
Vue6382477
PostCSS4171403
Shell110910
Pug18800
TOML18710
Astro16501
Markdown218707062192488
Plain Text66060

Top language: TypeScript 58.7%. 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 82,161 lines of code, plus 13,326 comment lines and 12,655 blank lines, for 108,142 total lines at commit 1f60d62b83e2 on November 4, 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 1f60d62b83e2, 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 1f60d62b83e2 on November 4, 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 — 82,161 code lines across 21 languages, counted by tokei.