nodejs/node has 10,499,039 source lines of code out of 13,338,800 total lines across 21,532 files, counted with tokei from the main ref at commit 502c117e8ef0 on October 29, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
nodejs/node: 10,499,039 code lines at commit 502c117e8ef0, counted with tokei-14.0.0 on 2026-10-29. Saved result b82032616a64344f0d170088dc522dd9a39ee3817e92c3f2006f5a48571a169c.
OctoCounts produced this report by resolving nodejs/node to commit 502c117e8ef0, 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.1%, and the repository averages 488 code lines per file. C Header accounts for 23.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C Header | 9534 | 3579563 | 2476264 | 719465 | 383834 |
| GNU Style Assembly | 877 | 2284468 | 1963568 | 14521 | 306379 |
| Perl | 393 | 1915440 | 1853112 | 28726 | 33602 |
| C++ | 3164 | 2308666 | 1775195 | 276988 | 256483 |
| C | 2814 | 1485223 | 1072960 | 249228 | 163035 |
| Assembly | 138 | 605739 | 512375 | 1864 | 91500 |
| JavaScript | 1700 | 361967 | 275607 | 46201 | 40159 |
| C++ Header | 620 | 188255 | 149026 | 22068 | 17161 |
| Python | 449 | 151037 | 117211 | 13053 | 20773 |
| Module-Definition | 44 | 52578 | 51863 | 7 | 708 |
| JSON | 127 | 33301 | 33296 | 0 | 5 |
| Shell | 143 | 45092 | 32118 | 7696 | 5278 |
| Bitbake | 173 | 34593 | 29176 | 3166 | 2251 |
| CMake | 164 | 33479 | 29130 | 1485 | 2864 |
| M4 | 49 | 39366 | 27650 | 7997 | 3719 |
| Autoconf | 207 | 35532 | 25722 | 5869 | 3941 |
| Bazel | 45 | 20192 | 18195 | 887 | 1110 |
| TypeScript | 156 | 20354 | 17082 | 1261 | 2011 |
| YAML | 112 | 13246 | 13182 | 54 | 10 |
| Rust | 25 | 9390 | 8494 | 245 | 651 |
| Templ | 18 | 5150 | 4201 | 834 | 115 |
| Makefile | 12 | 3292 | 2457 | 349 | 486 |
| HTML | 34 | 1828 | 1599 | 119 | 110 |
| CSS | 7 | 1928 | 1585 | 6 | 337 |
| Batch | 32 | 1599 | 1365 | 57 | 177 |
| Automake | 13 | 1248 | 931 | 168 | 149 |
| FORTRAN Modern | 2 | 995 | 769 | 140 | 86 |
| Nix | 12 | 958 | 713 | 184 | 61 |
| Prolog | 1 | 625 | 625 | 0 | 0 |
| TOML | 15 | 688 | 546 | 51 | 91 |
| 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 | 1 | 1 | 1 | 0 | 0 |
| Markdown | 210 | 63079 | 0 | 45549 | 17530 |
| Plain Text | 77 | 35996 | 0 | 35128 | 868 |
Top language: C Header 23.6%. Generated on .
nodejs/node: tokei-14.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,499,039 lines of code, plus 1,483,818 comment lines and 1,355,943 blank lines, for 13,338,800 total lines at commit 502c117e8ef0 on October 29, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 502c117e8ef0, 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 502c117e8ef0 on October 29, 2026.
Play the growth animation for nodejs/node on this page — 10,499,039 code lines across 53 languages, counted by tokei.