nodejs/node has 10,571,712 source lines of code out of 13,435,529 total lines across 21,962 files, counted with tokei from the main ref at commit 2b365b28928d on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
nodejs/node: 10,571,712 code lines at commit 2b365b28928d, counted with tokei-15.0.0 on 2026-11-21. Saved result 53e9f7af70c857c6a769395663ded803c36edd570515486f4131a8c54c33dd67.
OctoCounts produced this report by resolving nodejs/node to commit 2b365b28928d, 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.
This is a very large codebase by counted code lines. Code represents 78.7% of all lines, comments represent 11.2%, and the repository averages 481 code lines per file. C Header accounts for 23.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C Header | 9776 | 3592225 | 2483544 | 724614 | 384067 |
| GNU Style Assembly | 877 | 2284661 | 1963734 | 14527 | 306400 |
| Perl | 393 | 1915464 | 1853133 | 28727 | 33604 |
| C++ | 3267 | 2372671 | 1827508 | 284522 | 260641 |
| C | 2829 | 1487479 | 1074367 | 249818 | 163294 |
| Assembly | 138 | 605739 | 512375 | 1864 | 91500 |
| JavaScript | 1709 | 364469 | 277882 | 46247 | 40340 |
| C++ Header | 620 | 188255 | 149026 | 22068 | 17161 |
| Python | 466 | 157599 | 122778 | 13312 | 21509 |
| Module-Definition | 44 | 52583 | 51868 | 7 | 708 |
| JSON | 136 | 33335 | 33330 | 0 | 5 |
| Shell | 146 | 45455 | 32346 | 7792 | 5317 |
| CMake | 169 | 35458 | 30916 | 1508 | 3034 |
| Bitbake | 174 | 34752 | 29315 | 3170 | 2267 |
| M4 | 49 | 39650 | 27817 | 8093 | 3740 |
| Autoconf | 207 | 35652 | 25812 | 5882 | 3958 |
| Bazel | 46 | 20381 | 18373 | 885 | 1123 |
| TypeScript | 156 | 20537 | 17242 | 1266 | 2029 |
| YAML | 117 | 14034 | 13973 | 49 | 12 |
| Rust | 25 | 9390 | 8494 | 245 | 651 |
| Templ | 18 | 5150 | 4201 | 834 | 115 |
| Makefile | 12 | 3301 | 2464 | 350 | 487 |
| HTML | 34 | 1828 | 1599 | 119 | 110 |
| CSS | 7 | 1928 | 1585 | 6 | 337 |
| Batch | 32 | 1608 | 1372 | 58 | 178 |
| Automake | 13 | 1268 | 950 | 168 | 150 |
| FORTRAN Modern | 2 | 995 | 769 | 140 | 86 |
| Nix | 12 | 964 | 704 | 201 | 59 |
| Prolog | 1 | 625 | 625 | 0 | 0 |
| TOML | 16 | 747 | 587 | 61 | 99 |
| LD Script | 87 | 419 | 413 | 5 | 1 |
| PowerShell | 16 | 492 | 386 | 72 | 34 |
| ReStructuredText | 5 | 425 | 300 | 0 | 125 |
| R | 5 | 379 | 272 | 52 | 55 |
| Emacs Lisp | 2 | 338 | 258 | 38 | 42 |
| Scheme | 1 | 286 | 222 | 51 | 13 |
| Visual Studio Project | 1 | 189 | 189 | 0 | 0 |
| Vim Script | 3 | 203 | 183 | 13 | 7 |
| BASH | 6 | 249 | 162 | 41 | 46 |
| ASN.1 | 11 | 389 | 158 | 150 | 81 |
| SVG | 3 | 154 | 152 | 1 | 1 |
| WebAssembly | 13 | 124 | 109 | 0 | 15 |
| Objective-C++ | 2 | 57 | 48 | 0 | 9 |
| Visual Studio Solution | 1 | 43 | 43 | 0 | 0 |
| Dockerfile | 2 | 49 | 36 | 2 | 11 |
| Meson | 1 | 37 | 26 | 2 | 9 |
| Fish | 1 | 40 | 21 | 14 | 5 |
| MSBuild | 2 | 23 | 20 | 3 | 0 |
| Ruby | 1 | 30 | 17 | 8 | 5 |
| NuGet Config | 1 | 6 | 6 | 0 | 0 |
| Forge Config | 2 | 8 | 2 | 6 | 0 |
| Djot | 1 | 149 | 0 | 119 | 30 |
| Markdown | 227 | 67160 | 0 | 48774 | 18386 |
| Plain Text | 77 | 36077 | 0 | 35209 | 868 |
Top language: C Header 23.5%. Generated on .
nodejs/node: 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.
nodejs/node has 10,571,712 lines of code, plus 1,501,093 comment lines and 1,362,724 blank lines, for 13,435,529 total lines at commit 2b365b28928d on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 2b365b28928d, 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 main at commit 2b365b28928d on November 21, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for nodejs/node on this page — 10,571,712 code lines across 54 languages, counted by tokei.