# matter-js/matter.js SLOC report

> As of 2026-11-16 (commit 8addfb158f0b), matter-js/matter.js contains 1,000,964 total lines: 744,918 code, 151,163 comments, 104,883 blank, across 3,986 files in 15 languages (top language: TypeScript 97.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

matter-js/matter.js has 744,918 source lines of code out of 1,000,964 total lines across 3,986 files, counted with tokei from the main ref at commit 8addfb158f0b on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving matter-js/matter.js to commit 8addfb158f0b, 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

matter-js/matter.js: 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 74.4% of all lines, comments represent 15.1%, and the repository averages 187 code lines per file. TypeScript accounts for 97.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 3,608 | 973,258 | 725,795 | 144,954 | 102,509 |
| JSON | 129 | 16,070 | 16,057 | 0 | 13 |
| JavaScript | 162 | 2,614 | 1,095 | 994 | 525 |
| YAML | 2 | 881 | 796 | 42 | 43 |
| Python | 1 | 523 | 382 | 53 | 88 |
| BASH | 17 | 532 | 267 | 148 | 117 |
| TSX | 1 | 298 | 210 | 72 | 16 |
| Dockerfile | 1 | 279 | 105 | 114 | 60 |
| HTML | 3 | 81 | 69 | 7 | 5 |
| HCL | 1 | 96 | 64 | 15 | 17 |
| Shell | 3 | 135 | 63 | 40 | 32 |
| Sass | 2 | 10 | 9 | 1 | 0 |

Top language: TypeScript 97.4%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/matter-js/matter.js

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/matter-js/matter.js/commit/8addfb158f0beceb861c350ceda53b080b178c2c?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&reportId=3afb3c3cd1f087bb7d37e58177f482b0611725ed57ec2e0ff6eb44867151c701).

## Report FAQ

### How many lines of code does matter-js/matter.js have?

matter-js/matter.js has 744,918 lines of code, plus 151,163 comment lines and 104,883 blank lines, for 1,000,964 total lines at commit 8addfb158f0b on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the matter-js/matter.js line count measured?

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

### What commit was counted for matter-js/matter.js?

This OctoCounts report was generated from main at commit 8addfb158f0b on November 16, 2026.

## Similar repository reports

- [angular/angular](https://octocounts.com/github/angular/angular) — TypeScript, 744,545 code lines
- [qybaihe/mu](https://octocounts.com/github/qybaihe/mu) — TypeScript, 753,689 code lines
- [amjal/texstudio-vim](https://octocounts.com/github/amjal/texstudio-vim) — TypeScript, 759,520 code lines
- [dyad-sh/dyad](https://octocounts.com/github/dyad-sh/dyad) — TypeScript, 726,981 code lines
- [eigenpal/docx-editor](https://octocounts.com/github/eigenpal/docx-editor) — TypeScript, 723,795 code lines
- [decocms/studio](https://octocounts.com/github/decocms/studio) — TypeScript, 771,119 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)
