mermaid-js/mermaid-cli

mermaid-js/mermaid-cli has 12,647 source lines of code out of 13,994 total lines across 40 files, counted with tokei from the master ref at commit 1423a0d7967d on November 2, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

mermaid-js/mermaid-cli: 12,647 code lines at commit 1423a0d7967d, counted with tokei-15.0.0 on 2026-11-02. Saved result 91eb6ea14199c4aabc36d9d0749332291e8e75fe3a871d26e4d87ea37d8bcd6b.

OctoCounts produced this report by resolving mermaid-js/mermaid-cli to commit 1423a0d7967d, 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 medium-sized codebase by counted code lines. Code represents 90.4% of all lines, comments represent 6.8%, and the repository averages 316 code lines per file. JavaScript is the largest programming language at 19.8% of counted code; data and prose formats such as JSON or YAML hold a larger share.

LanguageFilesLinesCodeCommentsBlanks
JSON99983998201
JavaScript1230992500409190
Shell2134892322
CSS24734103
Dockerfile13825013
TypeScript29711
HTML16600
YAML14400
Markdown106740514160

Top programming language: JavaScript 19.8%. Generated on .

Counting rules and retention

mermaid-js/mermaid-cli: 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 mermaid-js/mermaid-cli have?

mermaid-js/mermaid-cli has 12,647 lines of code, plus 957 comment lines and 390 blank lines, for 13,994 total lines at commit 1423a0d7967d on November 2, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 1423a0d7967d, 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-cli?

This OctoCounts report was generated from master at commit 1423a0d7967d on November 2, 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-cli on this page — 12,647 code lines across 9 languages, counted by tokei.