# sindresorhus/p-limit SLOC report

> As of 2026-08-23 (commit df476048d023), sindresorhus/p-limit contains 1,587 total lines: 803 code, 451 comments, 333 blank, across 9 files in 4 languages (top: JavaScript 87.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

sindresorhus/p-limit has 803 source lines of code out of 1,587 total lines across 9 files, counted from the main ref at commit df476048d023 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/p-limit to commit df476048d023, 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 50.6% of all lines, comments represent 28.4%, and the repository averages 89 code lines per file. JavaScript accounts for 87.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JavaScript | 4 | 974 | 700 | 95 | 179 |
| JSON | 1 | 58 | 58 | 0 | 0 |
| TypeScript | 2 | 169 | 45 | 106 | 18 |
| Markdown | 2 | 386 | 0 | 250 | 136 |

Top language (JavaScript 87.2%). Generated at 2026-08-23T21:22:31.737269583+00:00. Canonical report: https://octocounts.com/github/sindresorhus/p-limit

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/sindresorhus/p-limit/commit/df476048d023ff868cd45b35ee47f5fb0ca2b25a?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/p-limit have?

sindresorhus/p-limit has 1,587 total lines, including 803 code lines, 451 comment lines, and 333 blank lines.

### How was the sindresorhus/p-limit line count measured?

OctoCounts resolved the public GitHub repository to commit df476048d023, 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/p-limit?

This OctoCounts report was generated from main at commit df476048d023 on 2026-08-23T21:22:31.737269583+00:00.

## Similar repository reports

- [Checkmarx/WebViewGoat](https://octocounts.com/github/Checkmarx/WebViewGoat) — JavaScript, 787 code lines
- [WithBlankName/FakeMoonCamera](https://octocounts.com/github/WithBlankName/FakeMoonCamera) — JavaScript, 785 code lines
- [sindresorhus/query-string](https://octocounts.com/github/sindresorhus/query-string) — JavaScript, 836 code lines
- [harryneopotter/Codex-webui](https://octocounts.com/github/harryneopotter/Codex-webui) — JavaScript, 837 code lines
- [jonschlinkert/braces](https://octocounts.com/github/jonschlinkert/braces) — JavaScript, 765 code lines
- [jae-jae/Userscript-Plus](https://octocounts.com/github/jae-jae/Userscript-Plus) — JavaScript, 856 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)
