socketio/socket.io has 50,859 source lines of code out of 70,932 total lines across 572 files, counted with tokei from the main ref at commit f97d51a810d4 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit f97d51a810d4), socketio/socket.io contains 70,932 total lines: 50,859 code, 12,577 comments, 7,496 blank, across 572 files in 22 languages (top programming language: TypeScript 26.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving socketio/socket.io to commit f97d51a810d4, 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 medium-sized codebase by counted code lines. Code represents 71.7% of all lines, comments represent 17.7%, and the repository averages 89 code lines per file. TypeScript is the largest programming language at 26.3% of counted code; data and prose formats such as JSON or YAML hold a larger share.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 135 | 25113 | 25102 | 0 | 11 |
| TypeScript | 126 | 21428 | 13365 | 5653 | 2410 |
| JavaScript | 134 | 11601 | 8493 | 1980 | 1128 |
| CSS | 18 | 2661 | 2177 | 77 | 407 |
| HTML | 35 | 879 | 812 | 26 | 41 |
| YAML | 12 | 256 | 230 | 0 | 26 |
| Shell | 9 | 319 | 155 | 126 | 38 |
| TSX | 1 | 119 | 99 | 6 | 14 |
| Batch | 1 | 92 | 71 | 0 | 21 |
| Objective-C | 2 | 76 | 61 | 0 | 15 |
| XML | 5 | 82 | 50 | 25 | 7 |
| Vue | 9 | 62 | 47 | 0 | 15 |
Top programming language: TypeScript 26.3%. Generated on .
socketio/socket.io: 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.
socketio/socket.io has 50,859 lines of code, plus 12,577 comment lines and 7,496 blank lines, for 70,932 total lines at commit f97d51a810d4 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit f97d51a810d4, 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 f97d51a810d4 on November 16, 2026.
Play the growth animation for socketio/socket.io on this page — 50,859 code lines across 22 languages, counted by tokei.