# cosmiconfig/cosmiconfig SLOC report

> As of 2026-09-17 (commit 07542d9b8912), cosmiconfig/cosmiconfig contains 2,748 total lines: 1,265 code, 974 comments, 509 blank, across 17 files in 4 languages (top: TypeScript 90.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

cosmiconfig/cosmiconfig has 1,265 source lines of code out of 2,748 total lines across 17 files, counted from the 07542d9b8912ca859bc554096021111e868fd323 ref at commit 07542d9b8912 by the OctoCounts tokei engine on 2026-09-17. 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 cosmiconfig/cosmiconfig to commit 07542d9b8912, 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 46.0% of all lines, comments represent 35.4%, and the repository averages 74 code lines per file. TypeScript accounts for 90.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 10 | 1,416 | 1,143 | 142 | 131 |
| JSON | 3 | 122 | 121 | 0 | 1 |
| YAML | 1 | 1 | 1 | 0 | 0 |
| Markdown | 3 | 1,209 | 0 | 832 | 377 |

Top language (TypeScript 90.4%). Generated at 2026-09-17T06:23:03.993250742+00:00. Canonical report: https://octocounts.com/github/cosmiconfig/cosmiconfig

## Reproduce this report

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

cosmiconfig/cosmiconfig has 2,748 total lines, including 1,265 code lines, 974 comment lines, and 509 blank lines.

### How was the cosmiconfig/cosmiconfig line count measured?

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

### What commit was counted for cosmiconfig/cosmiconfig?

This OctoCounts report was generated from 07542d9b8912ca859bc554096021111e868fd323 at commit 07542d9b8912 on 2026-09-17T06:23:03.993250742+00:00.

## Similar repository reports

- [NeoLabHQ/context-engineering-kit](https://octocounts.com/github/NeoLabHQ/context-engineering-kit) — TypeScript, 1,305 code lines
- [axetroy/anti-redirect](https://octocounts.com/github/axetroy/anti-redirect) — TypeScript, 1,224 code lines
- [ross-jill-ws/pi-subagent-in-memory](https://octocounts.com/github/ross-jill-ws/pi-subagent-in-memory) — TypeScript, 1,327 code lines
- [ianstormtaylor/superstruct](https://octocounts.com/github/ianstormtaylor/superstruct) — TypeScript, 1,480 code lines
- [garzj/d4sd](https://octocounts.com/github/garzj/d4sd) — TypeScript, 1,487 code lines
- [fabiospampinato/cash](https://octocounts.com/github/fabiospampinato/cash) — TypeScript, 1,492 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)
