sindresorhus/slugify SLOC report

As of 2026-08-23 (commit 7c318bd1aa4b), sindresorhus/slugify contains 1,062 total lines: 405 code, 477 comments, 180 blank, across 6 files in 4 languages (top: JavaScript 80.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving sindresorhus/slugify to commit 7c318bd1aa4b, 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 38.1% of all lines, comments represent 44.9%, and the repository averages 68 code lines per file. JavaScript accounts for 80.5% of counted code.

LanguageFilesLinesCodeCommentsBlanks
JavaScript34033262057
JSON1626200
TypeScript12861725712
Markdown13110200111

Top language (JavaScript 80.5%). Generated at 2026-08-23T21:19:37.426268895+00:00.

Report FAQ

How many lines of code does sindresorhus/slugify have?

sindresorhus/slugify has 1,062 total lines, including 405 code lines, 477 comment lines, and 180 blank lines.

How was the sindresorhus/slugify line count measured?

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

What commit was counted for sindresorhus/slugify?

This OctoCounts report was generated from main at commit 7c318bd1aa4b on 2026-08-23T21:19:37.426268895+00:00.