mermaid-js/mermaid has 187,061 source lines of code out of 235,500 total lines across 1,214 files, counted from the develop ref at commit e28fbd9ded0a by the OctoCounts tokei engine on 2026-10-14. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
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 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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 845 | 141119 | 113150 | 14757 | 13212 |
| JavaScript | 141 | 38829 | 31654 | 2883 | 4292 |
| YAML | 5 | 26038 | 21038 | 70 | 4930 |
| HTML | 120 | 15875 | 14742 | 80 | 1053 |
| JSON | 75 | 6277 | 6254 | 0 | 23 |
| CSS | 1 | 111 | 103 | 2 | 6 |
| BASH | 2 | 146 | 95 | 13 | 38 |
| SVG | 2 | 13 | 13 | 0 | 0 |
| Dockerfile | 1 | 13 | 8 | 0 | 5 |
| TOML | 1 | 18 | 4 | 11 | 3 |
| Markdown | 21 | 7061 | 0 | 4856 | 2205 |
Top language (TypeScript 60.5%). Generated at .
mermaid-js/mermaid has 235,500 total lines, including 187,061 code lines, 22,672 comment lines, and 25,767 blank lines.
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.
This OctoCounts report was generated from develop at commit e28fbd9ded0a on 2026-10-14T12:53:46.616711469Z.
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.