# ng-bootstrap/ng-bootstrap SLOC report

> As of 2026-11-04 (commit 2a45c97082c6), ng-bootstrap/ng-bootstrap contains 1,841,285 total lines: 1,792,678 code, 9,105 comments, 39,502 blank, across 2,592 files in 9 languages (top language: HTML 94.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

ng-bootstrap/ng-bootstrap has 1,792,678 source lines of code out of 1,841,285 total lines across 2,592 files, counted with tokei from the master ref at commit 2a45c97082c6 on November 4, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving ng-bootstrap/ng-bootstrap to commit 2a45c97082c6, 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.

## Counting rules and retention

ng-bootstrap/ng-bootstrap: 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.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 97.4% of all lines, comments represent 0.5%, and the repository averages 692 code lines per file. HTML accounts for 94.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| HTML | 1,806 | 1,722,792 | 1,694,119 | 86 | 28,587 |
| TypeScript | 587 | 64,200 | 51,020 | 4,734 | 8,446 |
| JavaScript | 44 | 37,366 | 36,764 | 117 | 485 |
| JSON | 51 | 8,942 | 8,942 | 0 | 0 |
| SVG | 62 | 891 | 891 | 0 | 0 |
| Sass | 13 | 750 | 623 | 8 | 119 |
| CSS | 16 | 372 | 319 | 46 | 7 |
| Markdown | 5 | 3,318 | 0 | 1,993 | 1,325 |
| Plain Text | 8 | 2,654 | 0 | 2,121 | 533 |

Top language: HTML 94.5%. Generated on November 4, 2026. Canonical report: https://octocounts.com/github/ng-bootstrap/ng-bootstrap

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/ng-bootstrap/ng-bootstrap/commit/2a45c97082c66c955ac9c4865cf66d8d4dfd27fc?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&reportId=ee59356c85d30ea8112eb717ae384f2510dceaa1501f65f25866a8d644360523).

## Report FAQ

### How many lines of code does ng-bootstrap/ng-bootstrap have?

ng-bootstrap/ng-bootstrap has 1,792,678 lines of code, plus 9,105 comment lines and 39,502 blank lines, for 1,841,285 total lines at commit 2a45c97082c6 on November 4, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the ng-bootstrap/ng-bootstrap line count measured?

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

### What commit was counted for ng-bootstrap/ng-bootstrap?

This OctoCounts report was generated from master at commit 2a45c97082c6 on November 4, 2026.

## Similar repository reports

- [ychowdhrey/ultratextgen](https://octocounts.com/github/ychowdhrey/ultratextgen) — HTML, 2,609,529 code lines
- [olamilekan13/shibamemu](https://octocounts.com/github/olamilekan13/shibamemu) — HTML, 1,086,753 code lines
- [jestar719/mhgu](https://octocounts.com/github/jestar719/mhgu) — HTML, 4,397,928 code lines
- [EQ-bench/eqbench3](https://octocounts.com/github/EQ-bench/eqbench3) — HTML, 420,722 code lines
- [gtsCollect/gtsweb](https://octocounts.com/github/gtsCollect/gtsweb) — HTML, 288,135 code lines
- [Midrags/SFF](https://octocounts.com/github/Midrags/SFF) — HTML, 242,448 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)
- [Bootstrap vs Tailwind CSS](https://octocounts.com/compare/bootstrap-vs-tailwind)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
