LOC.1999

Enter a repository. We will count the lines. That is all.


vitejs/vite cached

Totals
Total lines55,380100.0%
Code46,05983.2%
Comments1,4522.6%
Blank7,86914.2%
Files counted1,8702.2 MB

By language

LanguageFilesCodeCommentBlankLinesShare
TypeScript 282 16,504 650 2,252 19,406 35.0%
Markdown 65 8,687 37 3,466 12,190 22.0%
JavaScript 767 8,440 507 1,010 9,957 18.0%
HTML 132 3,648 137 695 4,480 8.1%
JSON 265 2,913 0 5 2,918 5.3%
Vue 24 2,260 31 151 2,442 4.4%
YAML 20 1,176 44 143 1,363 2.5%
SVG 48 995 10 11 1,016 1.8%
CSS 170 761 21 58 840 1.5%
Diff 3 154 0 17 171 0.3%
SCSS 27 125 2 12 139 0.3%
Other 21 80 0 11 91 0.2%
Less 11 65 0 10 75 0.1%
JSON with Comments 1 59 6 3 68 0.1%
TSX 5 48 0 9 57 0.1%
JSX 1 29 0 2 31 0.1%
Stylus 6 24 5 6 35 0.1%
Ignore List 2 24 0 1 25 0.0%
Text 7 23 0 4 27 0.0%
Shell 1 9 1 0 10 0.0%
INI 1 8 0 1 9 0.0%
Sass 3 8 0 1 9 0.0%
TOML 1 7 1 0 8 0.0%
Dotenv 6 7 0 0 7 0.0%
Astro 1 5 0 1 6 0.0%

Comment detection is not available for: Diff, Dotenv, Ignore List, JSON, Other, Text. For those files every non-blank line is counted as code. How we count.

Biggest files

FileLanguageLines
playground/hmr-ssr/__tests__/hmr-ssr.spec.tsTypeScript1,221
playground/hmr/__tests__/hmr.spec.tsTypeScript1,214
docs/guide/features.mdMarkdown913
playground/assets/__tests__/assets.spec.tsTypeScript816
docs/guide/api-plugin.mdMarkdown809
playground/assets/index.htmlHTML738
docs/.vitepress/theme/components/SponsorBanner.vueVue640
docs/config/shared-options.mdMarkdown639
playground/fs-serve/__tests__/commonTests.tsTypeScript638
docs/.vitepress/config.tsTypeScript598

Repository

Repositoryvitejs/vite
Refmain (default branch)
Commit89620f09af
Stars82,172
Repo size73,082 KB (git)
Counted in0.42s (tarball strategy, 5 GitHub requests)
Counter version1.1.0

Skipped

Vendored / build output841
Generated (incl. lockfiles)4
Binary68
Too large0
Other4

Permalink: /r/vitejs/vite/89620f09af · JSON

Ranked #14 of 25 on the standings, at 0.67 lines of code per star.