# nodejs/node SLOC report

> As of 2026-10-06 (commit c89ec290f0f8), nodejs/node contains 12,965,647 total lines: 10,264,177 code, 1,449,470 comments, 1,252,000 blank, across 21,058 files in 53 languages (top: C Header 22.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

nodejs/node has 10,264,177 source lines of code out of 12,965,647 total lines across 21,058 files, counted from the main ref at commit c89ec290f0f8 by the OctoCounts tokei engine on 2026-10-06. 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 c89ec290f0f8, 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.2% of all lines, comments represent 11.2%, and the repository averages 487 code lines per file. C Header accounts for 22.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C Header | 9,371 | 3,392,992 | 2,302,367 | 708,314 | 382,311 |
| GNU Style Assembly | 855 | 2,133,403 | 1,892,708 | 10,164 | 230,531 |
| C++ | 3,164 | 2,282,841 | 1,760,983 | 269,111 | 252,747 |
| Perl | 374 | 1,794,868 | 1,738,065 | 26,306 | 30,497 |
| C | 2,838 | 1,673,925 | 1,266,250 | 245,320 | 162,355 |
| Assembly | 130 | 574,863 | 495,757 | 1,864 | 77,242 |
| JavaScript | 1,676 | 354,838 | 270,124 | 45,170 | 39,544 |
| C++ Header | 620 | 188,255 | 149,026 | 22,068 | 17,161 |
| Python | 429 | 143,680 | 111,608 | 12,311 | 19,761 |
| Module-Definition | 44 | 51,175 | 50,464 | 7 | 704 |
| JSON | 130 | 35,421 | 35,416 | 0 | 5 |
| Shell | 140 | 44,248 | 31,498 | 7,563 | 5,187 |

Top language (C Header 22.4%). Generated at 2026-10-06T18:44:31.510970620+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/c89ec290f0f82f544e39e6e5f2eab3b6de2c1cca?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,965,647 total lines, including 10,264,177 code lines, 1,449,470 comment lines, and 1,252,000 blank lines.

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

OctoCounts resolved the public GitHub repository to commit c89ec290f0f8, 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 c89ec290f0f8 on 2026-10-06T18:44:31.510970620+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,551 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,276 code lines
- [azahar-emu/azahar](https://octocounts.com/github/azahar-emu/azahar) — C Header, 402,519 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)
