# sindresorhus/got SLOC report

> As of 2026-09-16 (commit 687eb7dcc100), sindresorhus/got contains 12,162 total lines: 7,722 code, 2,510 comments, 1,930 blank, across 32 files in 4 languages (top: TypeScript 97.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

sindresorhus/got has 7,722 source lines of code out of 12,162 total lines across 32 files, counted from the 687eb7dcc100ea3e548ebba227173b886789e670 ref at commit 687eb7dcc100 by the OctoCounts tokei engine on 2026-09-16. 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/got to commit 687eb7dcc100, 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 63.5% of all lines, comments represent 20.6%, and the repository averages 241 code lines per file. TypeScript accounts for 97.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 27 | 11,513 | 7,552 | 2,117 | 1,844 |
| JSON | 2 | 169 | 169 | 0 | 0 |
| SVG | 1 | 1 | 1 | 0 | 0 |
| Markdown | 2 | 479 | 0 | 393 | 86 |

Top language (TypeScript 97.8%). Generated at 2026-09-16T19:12:19.278273897+00:00. Canonical report: https://octocounts.com/github/sindresorhus/got

## Reproduce this report

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

sindresorhus/got has 12,162 total lines, including 7,722 code lines, 2,510 comment lines, and 1,930 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 687eb7dcc100, 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/got?

This OctoCounts report was generated from 687eb7dcc100ea3e548ebba227173b886789e670 at commit 687eb7dcc100 on 2026-09-16T19:12:19.278273897+00:00.

## Similar repository reports

- [frost-beta/node-mlx](https://octocounts.com/github/frost-beta/node-mlx) — TypeScript, 7,917 code lines
- [Dhravya/radish](https://octocounts.com/github/Dhravya/radish) — TypeScript, 7,938 code lines
- [benz-ai-x/dsh-session-graph](https://octocounts.com/github/benz-ai-x/dsh-session-graph) — TypeScript, 8,135 code lines
- [Raynan00/shoal](https://octocounts.com/github/Raynan00/shoal) — TypeScript, 8,145 code lines
- [elix-project/remnawave_mcp](https://octocounts.com/github/elix-project/remnawave_mcp) — TypeScript, 7,059 code lines
- [shrimpwtf/oh-my-pstack](https://octocounts.com/github/shrimpwtf/oh-my-pstack) — TypeScript, 6,971 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)
