# gvergnaud/ts-pattern SLOC report

> As of 2026-09-11 (commit 2ece6ba54edc), gvergnaud/ts-pattern contains 22,895 total lines: 19,538 code, 2,528 comments, 829 blank, across 41 files in 8 languages (top: JSON 83.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

gvergnaud/ts-pattern has 19,538 source lines of code out of 22,895 total lines across 41 files, counted from the 2ece6ba54edcbc0d4f4fce67becf89143f9d07bc ref at commit 2ece6ba54edc by the OctoCounts tokei engine on 2026-09-11. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving gvergnaud/ts-pattern to commit 2ece6ba54edc, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 85.3% of all lines, comments represent 11.0%, and the repository averages 477 code lines per file. JSON accounts for 83.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 10 | 16,372 | 16,372 | 0 | 0 |
| TypeScript | 24 | 4,536 | 2,986 | 1,204 | 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 | 1,754 | 0 | 1,296 | 458 |

Top language (JSON 83.8%). Generated at 2026-09-11T06:07:23.055039509+00:00. Canonical report: https://octocounts.com/github/gvergnaud/ts-pattern

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/gvergnaud/ts-pattern/commit/2ece6ba54edcbc0d4f4fce67becf89143f9d07bc?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).

## Report FAQ

### How many lines of code does gvergnaud/ts-pattern have?

gvergnaud/ts-pattern has 22,895 total lines, including 19,538 code lines, 2,528 comment lines, and 829 blank lines.

### How was the gvergnaud/ts-pattern line count measured?

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

### What commit was counted for gvergnaud/ts-pattern?

This OctoCounts report was generated from 2ece6ba54edcbc0d4f4fce67becf89143f9d07bc at commit 2ece6ba54edc on 2026-09-11T06:07:23.055039509+00:00.

## Similar repository reports

- [awslabs/amazon-mission-solutions-auth-server](https://octocounts.com/github/awslabs/amazon-mission-solutions-auth-server) — JSON, 19,558 code lines
- [Code-4-Community/nefac](https://octocounts.com/github/Code-4-Community/nefac) — JSON, 19,494 code lines
- [Lizhenghe-Chen/BunnyChen-DailyCost](https://octocounts.com/github/Lizhenghe-Chen/BunnyChen-DailyCost) — JSON, 19,425 code lines
- [MNBLabs/phonepad](https://octocounts.com/github/MNBLabs/phonepad) — JSON, 19,676 code lines
- [fanly/fanlymenu](https://octocounts.com/github/fanly/fanlymenu) — JSON, 19,299 code lines
- [aksri648/CRM-XERA](https://octocounts.com/github/aksri648/CRM-XERA) — JSON, 19,255 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)
- [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)
