nodejs/node SLOC report
As of 2026-08-17 (commit 3abf65fc3ede), nodejs/node contains 12,510,844 total lines: 9,900,344 code, 1,399,294 comments, 1,211,206 blank, across 18,328 files in 52 languages (top: C Header 20.9%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving nodejs/node to commit 3abf65fc3ede, 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.
Repository size insights
This is a very large codebase by counted code lines. Code represents 79.1% of all lines, comments represent 11.2%, and the repository averages 540 code lines per file. C Header accounts for 20.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| C Header | 7241 | 3104051 | 2071433 | 676431 | 356187 |
| GNU Style Assembly | 856 | 2133432 | 1892734 | 10167 | 230531 |
| Perl | 374 | 1789593 | 1732823 | 26302 | 30468 |
| C++ | 3033 | 2205206 | 1695252 | 263575 | 246379 |
| C | 2835 | 1679417 | 1272052 | 244537 | 162828 |
| Assembly | 130 | 574863 | 495757 | 1864 | 77242 |
| JavaScript | 1575 | 325599 | 247020 | 41904 | 36675 |
| C++ Header | 553 | 173745 | 138360 | 19531 | 15854 |
| Python | 399 | 135703 | 105235 | 11819 | 18649 |
| Module-Definition | 36 | 47397 | 47324 | 7 | 66 |
| JSON | 124 | 39320 | 39315 | 0 | 5 |
| Shell | 133 | 43675 | 31035 | 7508 | 5132 |
Top language (C Header 20.9%). Generated at 2026-08-17T04:05:58.438938230+00:00.
Report FAQ
How many lines of code does nodejs/node have?
nodejs/node has 12,510,844 total lines, including 9,900,344 code lines, 1,399,294 comment lines, and 1,211,206 blank lines.
How was the nodejs/node line count measured?
OctoCounts resolved the public GitHub repository to commit 3abf65fc3ede, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for nodejs/node?
This OctoCounts report was generated from main at commit 3abf65fc3ede on 2026-08-17T04:05:58.438938230+00:00.