# 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%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

sindresorhus/slugify has 405 source lines of code out of 1,062 total lines across 6 files, counted from the main ref at commit 7c318bd1aa4b by the OctoCounts tokei engine on 2026-08-23. 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 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.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JavaScript | 3 | 403 | 326 | 20 | 57 |
| JSON | 1 | 62 | 62 | 0 | 0 |
| TypeScript | 1 | 286 | 17 | 257 | 12 |
| Markdown | 1 | 311 | 0 | 200 | 111 |

Top language (JavaScript 80.5%). Generated at 2026-08-23T21:19:37.426268895+00:00. Canonical report: https://octocounts.com/github/sindresorhus/slugify

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/sindresorhus/slugify/commit/7c318bd1aa4b4affab29761f15a9604323fe2a3b?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## 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.

## Similar repository reports

- [zanwei/design-dna](https://octocounts.com/github/zanwei/design-dna) — JavaScript, 403 code lines
- [Leonxlnx/taste-skill](https://octocounts.com/github/Leonxlnx/taste-skill) — JavaScript, 429 code lines
- [PixelsCommander/fps-control-chrome-extension](https://octocounts.com/github/PixelsCommander/fps-control-chrome-extension) — JavaScript, 366 code lines
- [wjlzqhh/dsh-question-history](https://octocounts.com/github/wjlzqhh/dsh-question-history) — JavaScript, 456 code lines
- [sindresorhus/tempy](https://octocounts.com/github/sindresorhus/tempy) — JavaScript, 457 code lines
- [wy-coliney/jev-browser-use](https://octocounts.com/github/wy-coliney/jev-browser-use) — JavaScript, 352 code lines

## 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)
- [React vs Vue](https://octocounts.com/compare/react-vs-vue)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Vite vs webpack](https://octocounts.com/compare/vite-vs-webpack)
- [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)
