mermaid-js/mermaid

mermaid-js/mermaid has 187,148 source lines of code out of 235,610 total lines across 1,214 files, counted from the develop ref at commit 6d8921f94f9a by the OctoCounts tokei engine on 2026-10-20. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

As of 2026-10-20 (commit 6d8921f94f9a), mermaid-js/mermaid contains 235,610 total lines: 187,148 code, 22,677 comments, 25,785 blank, across 1,214 files in 11 languages (top: TypeScript 60.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-20 (commit 6d8921f94f9a), mermaid-js/mermaid contains 235,610 total lines: 187,148 code, 22,677 comments, 25,785 blank, across 1,214 files in 11 languages (top: TypeScript 60.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving mermaid-js/mermaid to commit 6d8921f94f9a, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

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
JavaScript141389393174128884310
YAML52603821038704930
HTML1201587514742801053
JSON7562776254023
CSS111110326
BASH2146951338
SVG2131300
Dockerfile113805
TOML1184113
Markdown217061048562205

Top language (TypeScript 60.5%). Generated at .

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 235,610 total lines, including 187,148 code lines, 22,677 comment lines, and 25,785 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 6d8921f94f9a, 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 6d8921f94f9a on 2026-10-20T01:18:29.154739286+00:00.

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,148 code lines across 11 languages, counted by tokei.