# sindresorhus/got SLOC report

> As of 2026-10-05 (commit e1d87d2ced01), sindresorhus/got contains 12,668 total lines: 8,057 code, 2,598 comments, 2,013 blank, across 34 files in 4 languages (top: TypeScript 97.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

sindresorhus/got has 8,057 source lines of code out of 12,668 total lines across 34 files, counted from the e1d87d2ced01d5b7d855a7dc8b091bf7b014a1e4 ref at commit e1d87d2ced01 by the OctoCounts tokei engine on 2026-10-05. 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 e1d87d2ced01, 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.6% of all lines, comments represent 20.5%, and the repository averages 237 code lines per file. TypeScript accounts for 97.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 29 | 12,019 | 7,887 | 2,205 | 1,927 |
| JSON | 2 | 169 | 169 | 0 | 0 |
| SVG | 1 | 1 | 1 | 0 | 0 |
| Markdown | 2 | 479 | 0 | 393 | 86 |

Top language (TypeScript 97.9%). Generated at 2026-10-05T20:24:25.546073886+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/e1d87d2ced01d5b7d855a7dc8b091bf7b014a1e4?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,668 total lines, including 8,057 code lines, 2,598 comment lines, and 2,013 blank lines.

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

OctoCounts resolved the public GitHub repository to commit e1d87d2ced01, 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 e1d87d2ced01d5b7d855a7dc8b091bf7b014a1e4 at commit e1d87d2ced01 on 2026-10-05T20:24:25.546073886+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)
