# capricorn86/happy-dom SLOC report

> capricorn86/happy-dom: 76,058 code lines at commit 0d4cdbe7442a, counted with tokei-15.0.0 on 2026-11-01. Saved result 12648b7d2d2df6707e9e61b60213310aaea89c47edb72fa3bb5c190a5866bf12.

capricorn86/happy-dom has 76,058 source lines of code out of 107,146 total lines across 665 files, counted with tokei from the 0d4cdbe7442af49d16b49ddf1acf7cc9684ed318 ref at commit 0d4cdbe7442a on November 1, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving capricorn86/happy-dom to commit 0d4cdbe7442a, 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

capricorn86/happy-dom: 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 medium-sized codebase by counted code lines. Code represents 71.0% of all lines, comments represent 20.5%, and the repository averages 114 code lines per file. TypeScript accounts for 78.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 636 | 90,306 | 59,798 | 21,577 | 8,931 |
| JSON | 16 | 16,157 | 16,157 | 0 | 0 |
| JavaScript | 3 | 132 | 103 | 2 | 27 |
| Markdown | 10 | 551 | 0 | 346 | 205 |

Top language: TypeScript 78.6%. Generated on November 1, 2026. Canonical report: https://octocounts.com/github/capricorn86/happy-dom/commit/0d4cdbe7442af49d16b49ddf1acf7cc9684ed318?reportId=12648b7d2d2df6707e9e61b60213310aaea89c47edb72fa3bb5c190a5866bf12&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/capricorn86/happy-dom/commit/0d4cdbe7442af49d16b49ddf1acf7cc9684ed318?reportId=12648b7d2d2df6707e9e61b60213310aaea89c47edb72fa3bb5c190a5866bf12&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 capricorn86/happy-dom have?

capricorn86/happy-dom has 76,058 lines of code, plus 21,925 comment lines and 9,163 blank lines, for 107,146 total lines at commit 0d4cdbe7442a on November 1, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the capricorn86/happy-dom line count measured?

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

### What commit was counted for capricorn86/happy-dom?

This OctoCounts report was generated from 0d4cdbe7442af49d16b49ddf1acf7cc9684ed318 at commit 0d4cdbe7442a on November 1, 2026.

## Similar repository reports

- [szhygulin/vaultpilot-mcp](https://octocounts.com/github/szhygulin/vaultpilot-mcp) — TypeScript, 75,826 code lines
- [moonlight-stream/moonlight-qt](https://octocounts.com/github/moonlight-stream/moonlight-qt) — TypeScript, 75,128 code lines
- [vikiboss/60s](https://octocounts.com/github/vikiboss/60s) — TypeScript, 75,073 code lines
- [domsvoboda/nexus-launcher](https://octocounts.com/github/domsvoboda/nexus-launcher) — TypeScript, 77,502 code lines
- [smp46/pingvin-share-x](https://octocounts.com/github/smp46/pingvin-share-x) — TypeScript, 74,594 code lines
- [synergycodes/ng-diagram](https://octocounts.com/github/synergycodes/ng-diagram) — TypeScript, 77,652 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)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-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)
