ai/nanoid has 1,463 source lines of code out of 5,247 total lines across 24 files, counted with tokei from the main ref at commit 055d1700cc67 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-05 (commit 055d1700cc67), ai/nanoid contains 5,247 total lines: 1,463 code, 2,449 comments, 1,335 blank, across 24 files in 6 languages (top programming language: JavaScript 15.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving ai/nanoid to commit 055d1700cc67, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a small codebase by counted code lines. Code represents 27.9% of all lines, comments represent 46.7%, and the repository averages 61 code lines per file. JavaScript is the largest programming language at 15.8% of counted code; data and prose formats such as JSON or YAML hold a larger share.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| YAML | 2 | 1355 | 1084 | 0 | 271 |
| JavaScript | 6 | 363 | 231 | 96 | 36 |
| JSON | 1 | 105 | 105 | 0 | 0 |
| TypeScript | 4 | 181 | 41 | 131 | 9 |
| SVG | 2 | 2 | 2 | 0 | 0 |
| Markdown | 9 | 3241 | 0 | 2222 | 1019 |
Top programming language: JavaScript 15.8%. Generated on .
ai/nanoid: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
ai/nanoid has 1,463 lines of code, plus 2,449 comment lines and 1,335 blank lines, for 5,247 total lines at commit 055d1700cc67 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 055d1700cc67, 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 055d1700cc67 on November 5, 2026.
Play the growth animation for ai/nanoid on this page — 1,463 code lines across 6 languages, counted by tokei.