# nodejs/node SLOC report

> nodejs/node: 10,506,289 code lines at commit d3c404896285, counted with tokei-15.0.0 on 2026-11-16. Saved result 0435a2a8078045e4847dec8c076c93fdd374bd332cd4e3cdaa94ca038d63df36.

nodejs/node has 10,506,289 source lines of code out of 13,346,520 total lines across 21,538 files, counted with tokei from the main ref at commit d3c404896285 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving nodejs/node to commit d3c404896285, 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.

## Counting rules and retention

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.

## Repository size insights

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 | 9,535 | 3,573,953 | 2,475,092 | 717,887 | 380,974 |
| GNU Style Assembly | 877 | 2,284,468 | 1,963,568 | 14,521 | 306,379 |
| Perl | 393 | 1,915,464 | 1,853,133 | 28,727 | 33,604 |
| C++ | 3,165 | 2,319,684 | 1,781,764 | 280,333 | 257,587 |
| C | 2,814 | 1,485,642 | 1,073,112 | 249,431 | 163,099 |
| Assembly | 138 | 605,739 | 512,375 | 1,864 | 91,500 |
| JavaScript | 1,703 | 363,314 | 277,037 | 46,030 | 40,247 |
| C++ Header | 620 | 188,255 | 149,026 | 22,068 | 17,161 |
| Python | 449 | 151,115 | 117,275 | 13,061 | 20,779 |
| Module-Definition | 44 | 52,578 | 51,863 | 7 | 708 |
| JSON | 127 | 33,274 | 33,269 | 0 | 5 |
| Shell | 143 | 45,199 | 32,190 | 7,721 | 5,288 |
| Bitbake | 173 | 34,593 | 29,176 | 3,166 | 2,251 |
| CMake | 164 | 33,479 | 29,130 | 1,485 | 2,864 |
| M4 | 49 | 39,366 | 27,650 | 7,997 | 3,719 |
| Autoconf | 207 | 35,552 | 25,736 | 5,871 | 3,945 |
| Bazel | 45 | 20,192 | 18,195 | 887 | 1,110 |
| TypeScript | 156 | 20,500 | 17,208 | 1,266 | 2,026 |
| YAML | 112 | 13,246 | 13,182 | 54 | 10 |
| Rust | 25 | 9,390 | 8,494 | 245 | 651 |
| Templ | 18 | 5,150 | 4,201 | 834 | 115 |
| Makefile | 12 | 3,296 | 2,460 | 350 | 486 |
| HTML | 34 | 1,828 | 1,599 | 119 | 110 |
| CSS | 7 | 1,928 | 1,585 | 6 | 337 |
| Batch | 32 | 1,608 | 1,372 | 58 | 178 |
| Automake | 13 | 1,248 | 931 | 168 | 149 |
| FORTRAN Modern | 2 | 995 | 769 | 140 | 86 |
| Nix | 12 | 964 | 704 | 201 | 59 |
| 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 |
| Djot | 1 | 149 | 0 | 119 | 30 |
| Markdown | 210 | 63,109 | 0 | 45,575 | 17,534 |
| Plain Text | 77 | 35,996 | 0 | 35,128 | 868 |

Top language: C Header 23.6%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/nodejs/node/commit/d3c4048962853bb12359682381001ab63dced4ce?reportId=0435a2a8078045e4847dec8c076c93fdd374bd332cd4e3cdaa94ca038d63df36&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/nodejs/node/commit/d3c4048962853bb12359682381001ab63dced4ce?reportId=0435a2a8078045e4847dec8c076c93fdd374bd332cd4e3cdaa94ca038d63df36&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does nodejs/node have?

nodejs/node has 10,506,289 lines of code, plus 1,485,822 comment lines and 1,354,409 blank lines, for 13,346,520 total lines at commit d3c404896285 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the nodejs/node line count measured?

OctoCounts resolved the public GitHub repository to commit d3c404896285, 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 d3c404896285 on November 16, 2026.

## Similar repository reports

- [ziglang/zig](https://octocounts.com/github/ziglang/zig) — C Header, 3,895,862 code lines
- [espressif/esp-idf](https://octocounts.com/github/espressif/esp-idf) — C Header, 2,946,214 code lines
- [nanomatters/proton-salkim](https://octocounts.com/github/nanomatters/proton-salkim) — C Header, 1,433,882 code lines
- [TGX-Android/tdlib](https://octocounts.com/github/TGX-Android/tdlib) — C Header, 1,283,438 code lines
- [turanszkij/WickedEngine](https://octocounts.com/github/turanszkij/WickedEngine) — C Header, 1,168,314 code lines
- [grpc/grpc](https://octocounts.com/github/grpc/grpc) — C Header, 909,445 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Bun vs Node.js](https://octocounts.com/compare/bun-vs-node)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
