# ai/nanoid SLOC report

> ai/nanoid: 1,466 code lines at commit c0d01e30b0ec, counted with tokei-14.0.0 on 2026-10-11. Saved result 8b0c3fb92fc9ffbb80b4b7c30a7ba9db58534a6eb0877ffc316e2bfb6c26ee97.

ai/nanoid has 1,466 source lines of code out of 5,243 total lines across 24 files, counted from the main ref at commit c0d01e30b0ec by the OctoCounts tokei engine on 2026-10-11. 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 ai/nanoid to commit c0d01e30b0ec, 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 28.0% of all lines, comments represent 46.7%, and the repository averages 61 code lines per file. YAML accounts for 73.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| YAML | 2 | 1,355 | 1,084 | 0 | 271 |
| JavaScript | 6 | 366 | 234 | 96 | 36 |
| JSON | 1 | 105 | 105 | 0 | 0 |
| TypeScript | 4 | 181 | 41 | 131 | 9 |
| SVG | 2 | 2 | 2 | 0 | 0 |
| Markdown | 9 | 3,234 | 0 | 2,222 | 1,012 |

Top language (YAML 73.9%). Generated at 2026-10-11T03:42:12.053467706Z. Canonical report: https://octocounts.com/github/ai/nanoid/commit/c0d01e30b0ecf1add4ae860937445924f078188e?reportId=8b0c3fb92fc9ffbb80b4b7c30a7ba9db58534a6eb0877ffc316e2bfb6c26ee97&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/ai/nanoid/commit/c0d01e30b0ecf1add4ae860937445924f078188e?reportId=8b0c3fb92fc9ffbb80b4b7c30a7ba9db58534a6eb0877ffc316e2bfb6c26ee97&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does ai/nanoid have?

ai/nanoid has 5,243 total lines, including 1,466 code lines, 2,449 comment lines, and 1,328 blank lines.

### How was the ai/nanoid line count measured?

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

### What commit was counted for ai/nanoid?

This OctoCounts report was generated from main at commit c0d01e30b0ec on 2026-10-11T03:42:12.053467706Z.

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