mermaid-js/mermaid-cli has 12,579 source lines of code out of 13,851 total lines across 39 files, counted from the master ref at commit f416ac5c6e42 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 f416ac5c6e42), mermaid-js/mermaid-cli contains 13,851 total lines: 12,579 code, 908 comments, 364 blank, across 39 files in 9 languages (top: JSON 80.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving mermaid-js/mermaid-cli to commit f416ac5c6e42, 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 medium-sized codebase by counted code lines. Code represents 90.8% of all lines, comments represent 6.6%, and the repository averages 323 code lines per file. JSON accounts for 80.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 9 | 10067 | 10066 | 0 | 1 |
| JavaScript | 11 | 2912 | 2357 | 380 | 175 |
| Shell | 2 | 136 | 90 | 24 | 22 |
| CSS | 2 | 47 | 34 | 10 | 3 |
| Dockerfile | 1 | 22 | 15 | 0 | 7 |
| TypeScript | 2 | 9 | 7 | 1 | 1 |
| HTML | 1 | 6 | 6 | 0 | 0 |
| YAML | 1 | 4 | 4 | 0 | 0 |
| Markdown | 10 | 648 | 0 | 493 | 155 |
Top language (JSON 80.0%). Generated at .
mermaid-js/mermaid-cli has 13,851 total lines, including 12,579 code lines, 908 comment lines, and 364 blank lines.
OctoCounts resolved the public GitHub repository to commit f416ac5c6e42, 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 master at commit f416ac5c6e42 on 2026-10-20T08:16:54.414867964+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for mermaid-js/mermaid-cli on this page — 12,579 code lines across 9 languages, counted by tokei.