Deno vs Node.js: source lines of code compared
As of 2026-07-27, denoland/deno contains 1,192,233 total lines (948,293 code) across 2,007 files, while nodejs/node contains 12,503,188 total lines (9,894,725 code) across 18,311 files as of 2026-07-27. nodejs/node is about 10x the size of denoland/deno by code lines. Code size is not code quality: a larger count only means more source material, not a better or worse project.
| Metric | denoland/deno | nodejs/node |
|---|
| Files | 2,007 | 18,311 |
| Total lines | 1,192,233 | 12,503,188 |
| Code lines | 948,293 | 9,894,725 |
| Comment lines | 168,987 | 1,398,716 |
| Blank lines | 74,953 | 1,209,747 |
| Languages counted | 12 | 12 |
Top languages in denoland/deno: Rust (53.5% of code), JavaScript (29.3% of code), TypeScript (14.8% of code). Top languages in nodejs/node: C Header (21.0% of code), GNU Style Assembly (19.1% of code), Perl (17.5% of code). C appears in both top language lists; Rust, JavaScript, TypeScript, TOML appear only in denoland/deno's top languages; C Header, GNU Style Assembly, Perl, C++ appear only in nodejs/node's top languages.
Methodology: both counts come from cached OctoCounts reports generated with tokei. denoland/deno was counted at ref main (commit 34c46613cbe2) on 2026-07-27; nodejs/node was counted at ref main (commit 5316f445bddd) on 2026-07-27. See the counting methodology for ignored directories and analysis options.
Evidence and next steps:
Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.