This page compares the source lines of code (SLOC) of nestjs/nest and fastify/fastify using cached OctoCounts reports. Code size is not code quality: a larger count only means more source material, not a better or worse project.
As of 2026-08-31, nestjs/nest contains 122,036 total lines (101,193 code) across 1,922 files, while fastify/fastify contains 14,744 total lines (10,989 code) across 80 files as of 2026-09-07. nestjs/nest is about 9.2x the size of fastify/fastify by code lines. Code size is not code quality: a larger count only means more source material, not a better or worse project.
| Metric | nestjs/nest | fastify/fastify |
|---|---|---|
| Files | 1,922 | 80 |
| Total lines | 122,036 | 14,744 |
| Code lines | 101,193 | 10,989 |
| Comment lines | 10,492 | 2,183 |
| Blank lines | 10,351 | 1,572 |
| Languages counted | 11 | 5 |
Top languages in nestjs/nest: TypeScript (68.4% of code), JSON (30.9% of code), JavaScript (0.2% of code). Top languages in fastify/fastify: JavaScript (74.6% of code), TypeScript (23.2% of code), JSON (2.0% of code). TypeScript, JSON, JavaScript appear in both top language lists; GraphQL, YAML appear only in nestjs/nest's top languages; Shell, Markdown appear only in fastify/fastify's top languages.
Methodology: both counts come from cached OctoCounts reports generated with tokei. nestjs/nest was counted at ref master (commit 39fbddae5128) on 2026-08-31; fastify/fastify was counted at ref main (commit ac28821df11d) on 2026-09-07. 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.
nestjs/nest has more code: 101,193 code lines versus 10,989 for fastify/fastify, about 9.2x as much, based on cached OctoCounts reports as of 2026-09-07.
Not necessarily. SLOC measures size, not complexity, quality, or maintainability. A larger codebase can mean more features, more generated or vendored code, more verbose language idioms, or more tests — none of which imply the code is harder to work with. Use SLOC to gauge the scale of what you'd be reading or maintaining, not as a quality signal for nestjs/nest, fastify/fastify, or any repository.
Methodology: both counts come from cached OctoCounts reports generated with tokei. nestjs/nest was counted at ref master (commit 39fbddae5128) on 2026-08-31; fastify/fastify was counted at ref main (commit ac28821df11d) on 2026-09-07. See the counting methodology for ignored directories and analysis options.
Yes. This page shows the default branch for each repository. Use the interactive comparison tool to pick any public GitHub repository, branch, tag, or commit SHA for both sides and get a fresh side-by-side report.