# vitejs/vite SLOC report

> vitejs/vite: 84,459 code lines at commit e16ca5a13d74, counted with tokei-15.0.0 on 2026-11-24. Saved result 681a86ffac8645b75b4a840e47347955a2313ffdfed6a86b720661bcf78cfeb1.

Source: [vitejs/vite on GitHub](https://github.com/vitejs/vite) · counted commit [e16ca5a13d74](https://github.com/vitejs/vite/tree/e16ca5a13d74dddd005763df9d4db9fa01c74a4d)

vitejs/vite has 84,459 source lines of code out of 111,013 total lines across 2,135 files, counted with tokei from the main ref at commit e16ca5a13d74 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

## 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.

## 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 40 code lines per file. TypeScript accounts for 59.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 345 | 61,715 | 50,175 | 6,601 | 4,939 |
| YAML | 2 | 14,171 | 11,181 | 2 | 2,988 |
| JavaScript | 881 | 11,071 | 9,314 | 614 | 1,143 |
| CSS | 197 | 5,086 | 4,476 | 20 | 590 |
| JSON | 336 | 4,261 | 4,233 | 0 | 28 |
| HTML | 161 | 3,560 | 3,064 | 23 | 473 |
| SVG | 88 | 615 | 600 | 5 | 10 |
| TSX | 13 | 520 | 481 | 1 | 38 |
| JSX | 9 | 496 | 464 | 1 | 31 |
| Svelte | 6 | 184 | 174 | 0 | 10 |
| Sass | 34 | 160 | 143 | 2 | 15 |
| LESS | 13 | 81 | 63 | 7 | 11 |
| 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 | 23 | 8,964 | 0 | 6,417 | 2,547 |
| Plain Text | 7 | 7 | 0 | 7 | 0 |

Top language: TypeScript 59.4%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/vitejs/vite/commit/e16ca5a13d74dddd005763df9d4db9fa01c74a4d?reportId=681a86ffac8645b75b4a840e47347955a2313ffdfed6a86b720661bcf78cfeb1&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/vitejs/vite/commit/e16ca5a13d74dddd005763df9d4db9fa01c74a4d?reportId=681a86ffac8645b75b4a840e47347955a2313ffdfed6a86b720661bcf78cfeb1&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does vitejs/vite have?

vitejs/vite has 84,459 lines of code, plus 13,714 comment lines and 12,840 blank lines, for 111,013 total lines at commit e16ca5a13d74 on November 24, 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 e16ca5a13d74, 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 e16ca5a13d74 on November 24, 2026.

## Similar repository reports

- [bas3line/ascii](https://octocounts.com/github/bas3line/ascii) — TypeScript, 84,612 code lines
- [No-Instructions/Relay](https://octocounts.com/github/No-Instructions/Relay) — TypeScript, 84,129 code lines
- [Crosstalk-Solutions/project-nomad](https://octocounts.com/github/Crosstalk-Solutions/project-nomad) — TypeScript, 84,092 code lines
- [dsh-market/dsh-market](https://octocounts.com/github/dsh-market/dsh-market) — TypeScript, 84,072 code lines
- [langchain-ai/deepagentsjs](https://octocounts.com/github/langchain-ai/deepagentsjs) — TypeScript, 84,044 code lines
- [FrigadeHQ/yogurt](https://octocounts.com/github/FrigadeHQ/yogurt) — TypeScript, 83,917 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [Vite vs webpack](https://octocounts.com/compare/vite-vs-webpack)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
