# sindresorhus/ky SLOC report

> As of 2026-10-10 (commit 3541888878c4), sindresorhus/ky contains 7,487 total lines: 3,304 code, 3,179 comments, 1,004 blank, across 59 files in 4 languages (top: TypeScript 95.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

sindresorhus/ky has 3,304 source lines of code out of 7,487 total lines across 59 files, counted from the main ref at commit 3541888878c4 by the OctoCounts tokei engine on 2026-10-10. 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 3541888878c4, 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 44.1% of all lines, comments represent 42.5%, and the repository averages 56 code lines per file. TypeScript accounts for 95.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 52 | 5,400 | 3,170 | 1,772 | 458 |
| JSON | 4 | 133 | 133 | 0 | 0 |
| SVG | 1 | 1 | 1 | 0 | 0 |
| Markdown | 2 | 1,953 | 0 | 1,407 | 546 |

Top language (TypeScript 95.9%). Generated at 2026-10-10T00:32:30.688796735+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/3541888878c4d303a8bc2ad61815f4e048f55a5d?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 7,487 total lines, including 3,304 code lines, 3,179 comment lines, and 1,004 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 3541888878c4, 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 main at commit 3541888878c4 on 2026-10-10T00:32:30.688796735+00:00.

## 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)
