# nodejs/node SLOC report

> nodejs/node: 10,583,461 code lines at commit a055d9f2ccda, counted with tokei-15.0.0 on 2026-11-24. Saved result bffd0b9f9d4a10cdbcc1085069a322d816220ca0afadf56a5acf53c0da1b92eb.

Source: [nodejs/node on GitHub](https://github.com/nodejs/node) · counted commit [a055d9f2ccda](https://github.com/nodejs/node/tree/a055d9f2ccdabc4652b9d8b5720fbab7280928e5)

nodejs/node has 10,583,461 source lines of code out of 13,449,808 total lines across 21,968 files, counted with tokei from the main ref at commit a055d9f2ccda on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving nodejs/node to commit a055d9f2ccda, 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.2%, and the repository averages 482 code lines per file. C Header accounts for 23.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C Header | 9,776 | 3,598,339 | 2,489,317 | 725,146 | 383,876 |
| GNU Style Assembly | 877 | 2,284,661 | 1,963,734 | 14,527 | 306,400 |
| Perl | 393 | 1,915,464 | 1,853,133 | 28,727 | 33,604 |
| C++ | 3,267 | 2,376,042 | 1,830,153 | 285,176 | 260,713 |
| C | 2,829 | 1,487,481 | 1,074,369 | 249,818 | 163,294 |
| Assembly | 138 | 605,739 | 512,375 | 1,864 | 91,500 |
| JavaScript | 1,714 | 369,149 | 281,151 | 47,368 | 40,630 |
| C++ Header | 620 | 188,255 | 149,029 | 22,065 | 17,161 |
| Python | 466 | 157,599 | 122,778 | 13,312 | 21,509 |
| Module-Definition | 44 | 52,583 | 51,868 | 7 | 708 |
| JSON | 137 | 33,383 | 33,378 | 0 | 5 |
| Shell | 146 | 45,455 | 32,346 | 7,792 | 5,317 |
| CMake | 169 | 35,458 | 30,916 | 1,508 | 3,034 |
| Bitbake | 174 | 34,752 | 29,315 | 3,170 | 2,267 |
| M4 | 49 | 39,650 | 27,817 | 8,093 | 3,740 |
| Autoconf | 207 | 35,652 | 25,812 | 5,882 | 3,958 |
| Bazel | 46 | 20,384 | 18,376 | 885 | 1,123 |
| TypeScript | 156 | 20,537 | 17,242 | 1,266 | 2,029 |
| YAML | 117 | 14,034 | 13,973 | 49 | 12 |
| Rust | 25 | 9,390 | 8,494 | 245 | 651 |
| Templ | 18 | 5,150 | 4,201 | 834 | 115 |
| Makefile | 12 | 3,311 | 2,470 | 354 | 487 |
| 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,268 | 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 | 67,211 | 0 | 48,816 | 18,395 |
| Plain Text | 77 | 36,077 | 0 | 35,209 | 868 |

Top language: C Header 23.5%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/nodejs/node/commit/a055d9f2ccdabc4652b9d8b5720fbab7280928e5?reportId=bffd0b9f9d4a10cdbcc1085069a322d816220ca0afadf56a5acf53c0da1b92eb&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/a055d9f2ccdabc4652b9d8b5720fbab7280928e5?reportId=bffd0b9f9d4a10cdbcc1085069a322d816220ca0afadf56a5acf53c0da1b92eb&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,583,461 lines of code, plus 1,503,443 comment lines and 1,362,904 blank lines, for 13,449,808 total lines at commit a055d9f2ccda on November 24, 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 a055d9f2ccda, 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 a055d9f2ccda on November 24, 2026.

## Similar repository reports

- [FreeRTOS/FreeRTOS](https://octocounts.com/github/FreeRTOS/FreeRTOS) — C Header, 3,904,160 code lines
- [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,892 code lines
- [TGX-Android/tdlib](https://octocounts.com/github/TGX-Android/tdlib) — C Header, 1,285,355 code lines
- [turanszkij/WickedEngine](https://octocounts.com/github/turanszkij/WickedEngine) — C Header, 1,168,314 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [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)
