# unjs/ofetch SLOC report

> As of 2026-09-07 (commit d50a2047d431), unjs/ofetch contains 5,951 total lines: 3,708 code, 808 comments, 1,435 blank, across 24 files in 5 languages (top: YAML 79.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

unjs/ofetch has 3,708 source lines of code out of 5,951 total lines across 24 files, counted from the d50a2047d431ce7b1202d09d75a4bd611768c11c ref at commit d50a2047d431 by the OctoCounts tokei engine on 2026-09-07. 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 unjs/ofetch to commit d50a2047d431, 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 small codebase by counted code lines. Code represents 62.3% of all lines, comments represent 13.6%, and the repository averages 155 code lines per file. YAML accounts for 79.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| YAML | 1 | 3,767 | 2,934 | 0 | 833 |
| TypeScript | 9 | 833 | 648 | 76 | 109 |
| JSON | 3 | 63 | 63 | 0 | 0 |
| JavaScript | 8 | 94 | 63 | 13 | 18 |
| Markdown | 3 | 1,194 | 0 | 719 | 475 |

Top language (YAML 79.1%). Generated at 2026-09-07T06:58:37.879102613+00:00. Canonical report: https://octocounts.com/github/unjs/ofetch

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/unjs/ofetch/commit/d50a2047d431ce7b1202d09d75a4bd611768c11c?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 unjs/ofetch have?

unjs/ofetch has 5,951 total lines, including 3,708 code lines, 808 comment lines, and 1,435 blank lines.

### How was the unjs/ofetch line count measured?

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

### What commit was counted for unjs/ofetch?

This OctoCounts report was generated from d50a2047d431ce7b1202d09d75a4bd611768c11c at commit d50a2047d431 on 2026-09-07T06:58:37.879102613+00:00.

## Similar repository reports

- [hsingjui/pi-hooks](https://octocounts.com/github/hsingjui/pi-hooks) — YAML, 3,789 code lines
- [YDX-2147483647/best-of-typst](https://octocounts.com/github/YDX-2147483647/best-of-typst) — YAML, 3,532 code lines
- [ShiningYangYXN/RandomStudent](https://octocounts.com/github/ShiningYangYXN/RandomStudent) — YAML, 3,355 code lines
- [unjs/c12](https://octocounts.com/github/unjs/c12) — YAML, 4,290 code lines
- [Brooooooklyn/system-ocr](https://octocounts.com/github/Brooooooklyn/system-ocr) — YAML, 4,634 code lines
- [shigma/slidev-addon-typst](https://octocounts.com/github/shigma/slidev-addon-typst) — YAML, 4,711 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)
