As of 2026-08-05 (commit 014687e689b0), cosmiconfig/cosmiconfig contains 8,603 total lines: 6,163 code, 1,036 comments, 1,404 blank, across 30 files in 4 languages (top: TypeScript 97.9%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving cosmiconfig/cosmiconfig to commit 014687e689b0, 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.
This is a small codebase by counted code lines. Code represents 71.6% of all lines, comments represent 12.0%, and the repository averages 205 code lines per file. TypeScript accounts for 97.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 22 | 7288 | 6034 | 227 | 1027 |
| JSON | 4 | 129 | 128 | 0 | 1 |
| YAML | 1 | 1 | 1 | 0 | 0 |
| Markdown | 3 | 1185 | 0 | 809 | 376 |
Top language (TypeScript 97.9%). Generated at 2026-08-05T11:59:15.837161697+00:00.
cosmiconfig/cosmiconfig has 8,603 total lines, including 6,163 code lines, 1,036 comment lines, and 1,404 blank lines.
OctoCounts resolved the public GitHub repository to commit 014687e689b0, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit 014687e689b0 on 2026-08-05T11:59:15.837161697+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: