# nodejs/node SLOC report

> As of 2026-09-21 (commit 916d0d667510), nodejs/node contains 12,550,450 total lines: 9,934,570 code, 1,402,071 comments, 1,213,809 blank, across 18,435 files in 52 languages (top: C Header 20.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

nodejs/node has 9,934,570 source lines of code out of 12,550,450 total lines across 18,435 files, counted from the main ref at commit 916d0d667510 by the OctoCounts tokei engine on 2026-09-21. 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 916d0d667510, 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 539 code lines per file. C Header accounts for 20.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C Header | 7,251 | 3,106,823 | 2,074,001 | 676,515 | 356,307 |
| GNU Style Assembly | 855 | 2,133,403 | 1,892,708 | 10,164 | 230,531 |
| Perl | 374 | 1,791,443 | 1,734,644 | 26,302 | 30,497 |
| C++ | 3,041 | 2,221,044 | 1,712,018 | 262,413 | 246,613 |
| C | 2,834 | 1,679,259 | 1,271,772 | 244,664 | 162,823 |
| Assembly | 130 | 574,863 | 495,757 | 1,864 | 77,242 |
| JavaScript | 1,657 | 347,028 | 263,737 | 44,528 | 38,763 |
| C++ Header | 553 | 173,745 | 138,360 | 19,531 | 15,854 |
| Python | 399 | 135,820 | 105,353 | 11,807 | 18,660 |
| Module-Definition | 36 | 47,397 | 47,324 | 7 | 66 |
| JSON | 122 | 35,163 | 35,158 | 0 | 5 |
| Shell | 133 | 43,779 | 31,154 | 7,503 | 5,122 |

Top language (C Header 20.9%). Generated at 2026-09-21T09:02:01.293717067+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/916d0d66751083dc1b1483602ecafd6344ab3ec9?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,550,450 total lines, including 9,934,570 code lines, 1,402,071 comment lines, and 1,213,809 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 916d0d667510, 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 916d0d667510 on 2026-09-21T09:02:01.293717067+00:00.

## Similar repository reports

- [espressif/esp-idf](https://octocounts.com/github/espressif/esp-idf) — C Header, 2,887,893 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, 498,679 code lines
- [azahar-emu/azahar](https://octocounts.com/github/azahar-emu/azahar) — C Header, 390,852 code lines
- [Stukdee/ourfly](https://octocounts.com/github/Stukdee/ourfly) — C Header, 372,225 code lines
- [meemknight/PikaEngine](https://octocounts.com/github/meemknight/PikaEngine) — C Header, 296,247 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)
