gvergnaud/ts-pattern has 19,502 source lines of code out of 22,859 total lines across 41 files, counted with tokei from the c92ca435c7e1827e0fd55c539080ef1bfd6fe3f0 ref at commit c92ca435c7e1 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit c92ca435c7e1), gvergnaud/ts-pattern contains 22,859 total lines: 19,502 code, 2,528 comments, 829 blank, across 41 files in 8 languages (top programming language: TypeScript 15.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving gvergnaud/ts-pattern to commit c92ca435c7e1, 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 85.3% of all lines, comments represent 11.1%, and the repository averages 476 code lines per file. TypeScript is the largest programming language at 15.3% of counted code; data and prose formats such as JSON or YAML hold a larger share.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 10 | 16336 | 16336 | 0 | 0 |
| TypeScript | 24 | 4536 | 2986 | 1204 | 346 |
| TSX | 2 | 163 | 130 | 18 | 15 |
| CSS | 1 | 37 | 30 | 0 | 7 |
| HTML | 1 | 11 | 11 | 0 | 0 |
| Shell | 1 | 18 | 5 | 10 | 3 |
| JavaScript | 1 | 4 | 4 | 0 | 0 |
| Markdown | 1 | 1754 | 0 | 1296 | 458 |
Top programming language: TypeScript 15.3%. Generated on .
gvergnaud/ts-pattern: 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.
gvergnaud/ts-pattern has 19,502 lines of code, plus 2,528 comment lines and 829 blank lines, for 22,859 total lines at commit c92ca435c7e1 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit c92ca435c7e1, 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 c92ca435c7e1827e0fd55c539080ef1bfd6fe3f0 at commit c92ca435c7e1 on November 16, 2026.
Play the growth animation for gvergnaud/ts-pattern on this page — 19,502 code lines across 8 languages, counted by tokei.