discordjs/discord.js has 113,180 source lines of code out of 179,620 total lines across 1,320 files, counted with tokei from the main ref at commit ddbba3adbc83 on November 4, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
discordjs/discord.js: 113,180 code lines at commit ddbba3adbc83, counted with tokei-15.0.0 on 2026-11-04. Saved result f49b311237d8919183c8cbd0d2ae543b3d065df8991c1659b66e546be47274fa.
OctoCounts produced this report by resolving discordjs/discord.js to commit ddbba3adbc83, 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.
This is a large codebase by counted code lines. Code represents 63.0% of all lines, comments represent 25.9%, and the repository averages 86 code lines per file. TypeScript accounts for 43.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 642 | 78841 | 49630 | 20196 | 9015 |
| YAML | 13 | 26981 | 24927 | 1 | 2053 |
| JavaScript | 363 | 42236 | 17307 | 19936 | 4993 |
| JSON | 148 | 14840 | 14701 | 0 | 139 |
| TSX | 84 | 5370 | 4885 | 35 | 450 |
| TOML | 17 | 1337 | 1303 | 0 | 34 |
| CSS | 2 | 272 | 230 | 8 | 34 |
| Handlebars | 2 | 86 | 86 | 0 | 0 |
| SVG | 6 | 78 | 78 | 0 | 0 |
| Dockerfile | 1 | 32 | 20 | 0 | 12 |
| Lua | 1 | 16 | 13 | 0 | 3 |
| Markdown | 41 | 9531 | 0 | 6361 | 3170 |
Top language: TypeScript 43.9%. Generated on .
discordjs/discord.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.
discordjs/discord.js has 113,180 lines of code, plus 46,537 comment lines and 19,903 blank lines, for 179,620 total lines at commit ddbba3adbc83 on November 4, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit ddbba3adbc83, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit ddbba3adbc83 on November 4, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for discordjs/discord.js on this page — 113,180 code lines across 12 languages, counted by tokei.