# mrdoob/three.js SLOC report

> As of 2026-11-16 (commit f9bb9a426b90), mrdoob/three.js contains 590,899 total lines: 336,909 code, 105,060 comments, 148,930 blank, across 2,502 files in 7 languages (top language: JavaScript 79.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

mrdoob/three.js has 336,909 source lines of code out of 590,899 total lines across 2,502 files, counted with tokei from the dev ref at commit f9bb9a426b90 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving mrdoob/three.js to commit f9bb9a426b90, 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

mrdoob/three.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 57.0% of all lines, comments represent 17.8%, and the repository averages 135 code lines per file. JavaScript accounts for 79.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JavaScript | 1,455 | 505,827 | 266,868 | 98,232 | 140,727 |
| HTML | 863 | 48,256 | 43,708 | 260 | 4,288 |
| JSON | 32 | 11,010 | 11,009 | 0 | 1 |
| SVG | 68 | 8,704 | 8,694 | 1 | 9 |
| CSS | 21 | 7,800 | 6,630 | 115 | 1,055 |
| Markdown | 30 | 8,355 | 0 | 5,749 | 2,606 |
| Plain Text | 33 | 947 | 0 | 703 | 244 |

Top language: JavaScript 79.2%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/mrdoob/three.js

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/mrdoob/three.js/commit/f9bb9a426b906dac0d96221faa1d64dd4bbd8090?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=36541180c2eebe79bd3dcf3f752d61f505065c21e55b4913e17aa89d29c3cba6).

## Report FAQ

### How many lines of code does mrdoob/three.js have?

mrdoob/three.js has 336,909 lines of code, plus 105,060 comment lines and 148,930 blank lines, for 590,899 total lines at commit f9bb9a426b90 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the mrdoob/three.js line count measured?

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

### What commit was counted for mrdoob/three.js?

This OctoCounts report was generated from dev at commit f9bb9a426b90 on November 16, 2026.

## Similar repository reports

- [tastejs/todomvc](https://octocounts.com/github/tastejs/todomvc) — JavaScript, 332,898 code lines
- [webpack/webpack](https://octocounts.com/github/webpack/webpack) — JavaScript, 343,706 code lines
- [fishjar/kiss-translator](https://octocounts.com/github/fishjar/kiss-translator) — JavaScript, 347,723 code lines
- [WLJSTeam/wljs-notebook](https://octocounts.com/github/WLJSTeam/wljs-notebook) — JavaScript, 353,892 code lines
- [jackwener/OpenCLI](https://octocounts.com/github/jackwener/OpenCLI) — JavaScript, 318,636 code lines
- [usebruno/bruno](https://octocounts.com/github/usebruno/bruno) — JavaScript, 357,088 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)
- [Three.js vs Babylon.js](https://octocounts.com/compare/threejs-vs-babylonjs)
- [React vs Vue](https://octocounts.com/compare/react-vs-vue)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Vite vs webpack](https://octocounts.com/compare/vite-vs-webpack)
- [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)
