# nodejs/node SLOC report

> As of 2026-10-07 (commit 7514ef8caff3), nodejs/node contains 12,995,332 total lines: 10,285,375 code, 1,454,645 comments, 1,255,312 blank, across 21,248 files in 53 languages (top: C Header 22.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

nodejs/node has 10,285,375 source lines of code out of 12,995,332 total lines across 21,248 files, counted from the main ref at commit 7514ef8caff3 by the OctoCounts tokei engine on 2026-10-07. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving nodejs/node to commit 7514ef8caff3, 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 484 code lines per file. C Header accounts for 22.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C Header | 9,519 | 3,405,592 | 2,310,159 | 711,339 | 384,094 |
| GNU Style Assembly | 855 | 2,133,403 | 1,892,708 | 10,164 | 230,531 |
| C++ | 3,164 | 2,289,624 | 1,766,237 | 270,114 | 253,273 |
| Perl | 374 | 1,794,868 | 1,738,065 | 26,306 | 30,497 |
| C | 2,838 | 1,673,966 | 1,266,282 | 245,327 | 162,357 |
| Assembly | 130 | 574,863 | 495,757 | 1,864 | 77,242 |
| JavaScript | 1,676 | 354,952 | 270,187 | 45,212 | 39,553 |
| C++ Header | 620 | 188,255 | 149,026 | 22,068 | 17,161 |
| Python | 449 | 149,720 | 116,119 | 13,031 | 20,570 |
| Module-Definition | 44 | 52,449 | 51,734 | 7 | 708 |
| JSON | 130 | 35,401 | 35,396 | 0 | 5 |
| Shell | 140 | 44,259 | 31,508 | 7,564 | 5,187 |

Top language (C Header 22.5%). Generated at 2026-10-07T21:00:49.239076861+00:00. Canonical report: https://octocounts.com/github/nodejs/node

## Reproduce this report

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

## Report FAQ

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

nodejs/node has 12,995,332 total lines, including 10,285,375 code lines, 1,454,645 comment lines, and 1,255,312 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 7514ef8caff3, 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 7514ef8caff3 on 2026-10-07T21:00:49.239076861+00:00.

## 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,907,840 code lines
- [TGX-Android/tdlib](https://octocounts.com/github/TGX-Android/tdlib) — C Header, 834,361 code lines
- [kuzudb/kuzu](https://octocounts.com/github/kuzudb/kuzu) — C Header, 596,750 code lines
- [olikraus/u8g2](https://octocounts.com/github/olikraus/u8g2) — C Header, 589,307 code lines
- [raysan5/raylib](https://octocounts.com/github/raysan5/raylib) — C Header, 505,274 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)
- [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)
