# nodejs/node SLOC report

> As of 2026-09-16 (commit edc61b14de8e), nodejs/node contains 12,549,211 total lines: 9,933,725 code, 1,401,721 comments, 1,213,765 blank, across 18,430 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,933,725 source lines of code out of 12,549,211 total lines across 18,430 files, counted from the edc61b14de8e72af563a69b4356543717e1c235e ref at commit edc61b14de8e by the OctoCounts tokei engine on 2026-09-16. 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 edc61b14de8e, 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,808 | 2,073,986 | 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,220,957 | 1,711,999 | 262,320 | 246,638 |
| 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,652 | 346,268 | 263,199 | 44,350 | 38,719 |
| C++ Header | 553 | 173,745 | 138,360 | 19,531 | 15,854 |
| Python | 399 | 135,827 | 105,356 | 11,810 | 18,661 |
| Module-Definition | 36 | 47,397 | 47,324 | 7 | 66 |
| JSON | 122 | 34,900 | 34,895 | 0 | 5 |
| Shell | 133 | 43,744 | 31,121 | 7,503 | 5,120 |

Top language (C Header 20.9%). Generated at 2026-09-16T10:35:27.548812721+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/edc61b14de8e72af563a69b4356543717e1c235e?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,549,211 total lines, including 9,933,725 code lines, 1,401,721 comment lines, and 1,213,765 blank lines.

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

OctoCounts resolved the public GitHub repository to commit edc61b14de8e, 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 edc61b14de8e72af563a69b4356543717e1c235e at commit edc61b14de8e on 2026-09-16T10:35:27.548812721+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)
