medusajs/medusa

medusajs/medusa has 3,543,931 source lines of code out of 4,341,880 total lines across 21,846 files, counted with tokei from the develop ref at commit 8d25f7c02105 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-16 (commit 8d25f7c02105), medusajs/medusa contains 4,341,880 total lines: 3,543,931 code, 557,096 comments, 240,853 blank, across 21,846 files in 14 languages (top programming language: TypeScript 10.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-16 (commit 8d25f7c02105), medusajs/medusa contains 4,341,880 total lines: 3,543,931 code, 557,096 comments, 240,853 blank, across 21,846 files in 14 languages (top programming language: TypeScript 10.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving medusajs/medusa to commit 8d25f7c02105, 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 very large codebase by counted code lines. Code represents 81.6% of all lines, comments represent 12.8%, and the repository averages 162 code lines per file. TypeScript is the largest programming language at 10.2% of counted code; data and prose formats such as JSON or YAML hold a larger share.

LanguageFilesLinesCodeCommentsBlanks
YAML165927636902747934015756
TypeScript626953516836302112278049367
TSX2633240669214052571620901
JSON854118544918544108
JavaScript67831586289036752008
Shell53237683099395274
Handlebars2111405920548
Python34753266485
CSS8368282878
SVG5026826800
HTML1131300
MDX1059312240023550876732

Top programming language: TypeScript 10.2%. Generated on .

Counting rules and retention

medusajs/medusa: 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 medusajs/medusa have?

medusajs/medusa has 3,543,931 lines of code, plus 557,096 comment lines and 240,853 blank lines, for 4,341,880 total lines at commit 8d25f7c02105 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the medusajs/medusa line count measured?

OctoCounts resolved the public GitHub repository to commit 8d25f7c02105, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for medusajs/medusa?

This OctoCounts report was generated from develop at commit 8d25f7c02105 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 medusajs/medusa on this page — 3,543,931 code lines across 14 languages, counted by tokei.