# sindresorhus/ky SLOC report

> As of 2026-09-06 (commit e68ea7ad3080), sindresorhus/ky contains 6,181 total lines: 2,526 code, 2,831 comments, 824 blank, across 37 files in 4 languages (top: TypeScript 94.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

sindresorhus/ky has 2,526 source lines of code out of 6,181 total lines across 37 files, counted from the e68ea7ad3080fa25ce2eba6a367c00dfff74f0f3 ref at commit e68ea7ad3080 by the OctoCounts tokei engine on 2026-09-06. 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 sindresorhus/ky to commit e68ea7ad3080, 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 40.9% of all lines, comments represent 45.8%, and the repository averages 68 code lines per file. TypeScript accounts for 94.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 31 | 4,202 | 2,395 | 1,494 | 313 |
| JSON | 4 | 130 | 130 | 0 | 0 |
| SVG | 1 | 1 | 1 | 0 | 0 |
| Markdown | 1 | 1,848 | 0 | 1,337 | 511 |

Top language (TypeScript 94.8%). Generated at 2026-09-06T10:34:38.305749016+00:00. Canonical report: https://octocounts.com/github/sindresorhus/ky

## Reproduce this report

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

sindresorhus/ky has 6,181 total lines, including 2,526 code lines, 2,831 comment lines, and 824 blank lines.

### How was the sindresorhus/ky line count measured?

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

### What commit was counted for sindresorhus/ky?

This OctoCounts report was generated from e68ea7ad3080fa25ce2eba6a367c00dfff74f0f3 at commit e68ea7ad3080 on 2026-09-06T10:34:38.305749016+00:00.

## Similar repository reports

- [wanghua98/dsh-model-fallback](https://octocounts.com/github/wanghua98/dsh-model-fallback) — TypeScript, 2,506 code lines
- [huaxel/pi-dynamic-footer](https://octocounts.com/github/huaxel/pi-dynamic-footer) — TypeScript, 2,666 code lines
- [tempont/small-opencode-orchestrator](https://octocounts.com/github/tempont/small-opencode-orchestrator) — TypeScript, 2,304 code lines
- [0xmmo/crew](https://octocounts.com/github/0xmmo/crew) — TypeScript, 2,777 code lines
- [hbbio/nanoagent](https://octocounts.com/github/hbbio/nanoagent) — TypeScript, 2,260 code lines
- [hg/gitea-telegram](https://octocounts.com/github/hg/gitea-telegram) — TypeScript, 2,807 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)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [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)
