# nestjs/nest SLOC report

> nestjs/nest: 151,125 code lines at commit 9063866d6793, counted with tokei-15.0.0 on 2026-11-24. Saved result 7322e3581fd87fc29e4149f84a77783b2280d1d5903a94fff264eb3b9a0e178c.

Source: [nestjs/nest on GitHub](https://github.com/nestjs/nest) · counted commit [9063866d6793](https://github.com/nestjs/nest/tree/9063866d679370b4d7eb93a3ed9048d1d294cca7)

nestjs/nest has 151,125 source lines of code out of 187,839 total lines across 2,335 files, counted with tokei from the master ref at commit 9063866d6793 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving nestjs/nest to commit 9063866d6793, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

nestjs/nest: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a large codebase by counted code lines. Code represents 80.5% of all lines, comments represent 10.9%, and the repository averages 65 code lines per file. TypeScript accounts for 78.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 1,986 | 151,131 | 118,248 | 17,788 | 15,095 |
| JSON | 239 | 32,048 | 32,044 | 0 | 4 |
| JavaScript | 11 | 267 | 216 | 19 | 32 |
| GraphQL | 8 | 215 | 172 | 9 | 34 |
| YAML | 11 | 163 | 161 | 1 | 1 |
| Protocol Buffers | 10 | 157 | 126 | 0 | 31 |
| SQL | 6 | 64 | 53 | 11 | 0 |
| SVG | 1 | 43 | 43 | 0 | 0 |
| HTML | 4 | 26 | 24 | 0 | 2 |
| Handlebars | 2 | 26 | 20 | 0 | 6 |
| Shell | 4 | 29 | 12 | 10 | 7 |
| Pan | 5 | 6 | 6 | 0 | 0 |
| Markdown | 45 | 3,661 | 0 | 2,563 | 1,098 |
| Plain Text | 3 | 3 | 0 | 3 | 0 |

Top language: TypeScript 78.2%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/nestjs/nest/commit/9063866d679370b4d7eb93a3ed9048d1d294cca7?reportId=7322e3581fd87fc29e4149f84a77783b2280d1d5903a94fff264eb3b9a0e178c&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/nestjs/nest/commit/9063866d679370b4d7eb93a3ed9048d1d294cca7?reportId=7322e3581fd87fc29e4149f84a77783b2280d1d5903a94fff264eb3b9a0e178c&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does nestjs/nest have?

nestjs/nest has 151,125 lines of code, plus 20,404 comment lines and 16,310 blank lines, for 187,839 total lines at commit 9063866d6793 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the nestjs/nest line count measured?

OctoCounts resolved the public GitHub repository to commit 9063866d6793, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for nestjs/nest?

This OctoCounts report was generated from master at commit 9063866d6793 on November 24, 2026.

## Similar repository reports

- [pireel/pireel](https://octocounts.com/github/pireel/pireel) — TypeScript, 151,060 code lines
- [openocta/openocta](https://octocounts.com/github/openocta/openocta) — TypeScript, 150,649 code lines
- [zuplo/zudoku](https://octocounts.com/github/zuplo/zudoku) — TypeScript, 151,618 code lines
- [cloudflare/computer](https://octocounts.com/github/cloudflare/computer) — TypeScript, 151,982 code lines
- [h-arnold/AssessmentBot](https://octocounts.com/github/h-arnold/AssessmentBot) — TypeScript, 152,174 code lines
- [waooAI/waoowaoo](https://octocounts.com/github/waooAI/waoowaoo) — TypeScript, 150,071 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [NestJS vs Express](https://octocounts.com/compare/nestjs-vs-express)
- [NestJS vs Fastify](https://octocounts.com/compare/nestjs-vs-fastify)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
