This page compares the source lines of code (SLOC) of moment/moment and iamkun/dayjs using cached OctoCounts reports. Code size is not code quality: a larger count only means more source material, not a better or worse project.
As of 2026-08-26, moment/moment contains 81,203 total lines (72,297 code) across 450 files, while iamkun/dayjs contains 54,044 total lines (51,275 code) across 232 files as of 2026-08-26. moment/moment is about 1.4x the size of iamkun/dayjs by code lines. Code size is not code quality: a larger count only means more source material, not a better or worse project.
| Metric | moment/moment | iamkun/dayjs |
|---|---|---|
| Files | 450 | 232 |
| Total lines | 81,203 | 54,044 |
| Code lines | 72,297 | 51,275 |
| Comment lines | 3,592 | 1,318 |
| Blank lines | 5,314 | 1,451 |
| Languages counted | 5 | 4 |
Top languages in moment/moment: JavaScript (93.0% of code), TypeScript (3.4% of code), YAML (3.1% of code). Top languages in iamkun/dayjs: JSON (83.0% of code), JavaScript (15.9% of code), TypeScript (1.1% of code). JavaScript, TypeScript, JSON, Markdown appear in both top language lists; YAML appears only in moment/moment's top languages.
Methodology: both counts come from cached OctoCounts reports generated with tokei. moment/moment was counted at ref develop (commit 4a5b290564a2) on 2026-08-26; iamkun/dayjs was counted at ref dev (commit 0f6c19e3b63b) on 2026-08-26. See the counting methodology for ignored directories and analysis options.
Evidence and next steps:
Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.
moment/moment has more code: 72,297 code lines versus 51,275 for iamkun/dayjs, about 1.4x as much, based on cached OctoCounts reports as of 2026-08-26.
Not necessarily. SLOC measures size, not complexity, quality, or maintainability. A larger codebase can mean more features, more generated or vendored code, more verbose language idioms, or more tests — none of which imply the code is harder to work with. Use SLOC to gauge the scale of what you'd be reading or maintaining, not as a quality signal for moment/moment, iamkun/dayjs, or any repository.
Methodology: both counts come from cached OctoCounts reports generated with tokei. moment/moment was counted at ref develop (commit 4a5b290564a2) on 2026-08-26; iamkun/dayjs was counted at ref dev (commit 0f6c19e3b63b) on 2026-08-26. See the counting methodology for ignored directories and analysis options.
Yes. This page shows the default branch for each repository. Use the interactive comparison tool to pick any public GitHub repository, branch, tag, or commit SHA for both sides and get a fresh side-by-side report.