mermaid-js/mermaid

mermaid-js/mermaid has 187,061 source lines of code out of 235,500 total lines across 1,214 files, counted with tokei from the develop ref at commit e28fbd9ded0a on October 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

mermaid-js/mermaid: 187,061 code lines at commit e28fbd9ded0a, counted with tokei-14.0.0 on 2026-10-14. Saved result f62a97c74830661a9c0ddfdab9cbfca4015eafb76d238a369f34ce21d5046b16.

OctoCounts produced this report by resolving mermaid-js/mermaid to commit e28fbd9ded0a, 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 large codebase by counted code lines. Code represents 79.4% of all lines, comments represent 9.6%, and the repository averages 154 code lines per file. TypeScript accounts for 60.5% of counted code.

LanguageFilesLinesCodeCommentsBlanks
TypeScript8451411191131501475713212
JavaScript141388293165428834292
YAML52603821038704930
HTML1201587514742801053
JSON7562776254023
CSS111110326
BASH2146951338
SVG2131300
Dockerfile113805
TOML1184113
Markdown217061048562205

Top language: TypeScript 60.5%. Generated on .

Counting rules and retention

mermaid-js/mermaid: tokei-14.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 mermaid-js/mermaid have?

mermaid-js/mermaid has 187,061 lines of code, plus 22,672 comment lines and 25,767 blank lines, for 235,500 total lines at commit e28fbd9ded0a on October 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the mermaid-js/mermaid line count measured?

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

What commit was counted for mermaid-js/mermaid?

This OctoCounts report was generated from develop at commit e28fbd9ded0a on October 14, 2026.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for mermaid-js/mermaid on this page — 187,061 code lines across 11 languages, counted by tokei.