# tradingview/lightweight-charts SLOC report

> As of 2026-10-22 (commit efa9bd49e811), tradingview/lightweight-charts contains 150,723 total lines: 96,968 code, 32,552 comments, 21,203 blank, across 1,240 files in 13 languages (top: TypeScript 49.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

tradingview/lightweight-charts has 96,968 source lines of code out of 150,723 total lines across 1,240 files, counted from the master ref at commit efa9bd49e811 by the OctoCounts tokei engine on 2026-10-22. 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 tradingview/lightweight-charts to commit efa9bd49e811, 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 medium-sized codebase by counted code lines. Code represents 64.3% of all lines, comments represent 21.6%, and the repository averages 78 code lines per file. TypeScript accounts for 49.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 597 | 66,591 | 48,031 | 10,876 | 7,684 |
| YAML | 24 | 20,918 | 16,927 | 11 | 3,980 |
| JavaScript | 108 | 18,961 | 16,266 | 1,504 | 1,191 |
| JSON | 90 | 8,316 | 8,315 | 0 | 1 |
| HTML | 112 | 2,629 | 2,507 | 106 | 16 |
| CSS | 22 | 2,563 | 2,089 | 155 | 319 |
| TSX | 21 | 2,357 | 1,992 | 166 | 199 |
| SVG | 27 | 330 | 325 | 4 | 1 |
| JSX | 3 | 388 | 320 | 17 | 51 |
| Shell | 7 | 250 | 178 | 25 | 47 |
| Vue | 3 | 23 | 18 | 0 | 5 |
| MDX | 61 | 7,557 | 0 | 5,743 | 1,814 |

Top language (TypeScript 49.5%). Generated at 2026-10-22T04:52:18.648649635+00:00. Canonical report: https://octocounts.com/github/tradingview/lightweight-charts

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/tradingview/lightweight-charts/commit/efa9bd49e8116a33cb0c1dee61c5bef74b8d0dea?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=31e381302fd483bd1d89ddf79522856d7bb1babfd5c69c2fd370e1e34e8394a0).

## Report FAQ

### How many lines of code does tradingview/lightweight-charts have?

tradingview/lightweight-charts has 150,723 total lines, including 96,968 code lines, 32,552 comment lines, and 21,203 blank lines.

### How was the tradingview/lightweight-charts line count measured?

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

### What commit was counted for tradingview/lightweight-charts?

This OctoCounts report was generated from master at commit efa9bd49e811 on 2026-10-22T04:52:18.648649635+00:00.

## Similar repository reports

- [gsd-build/get-shit-done](https://octocounts.com/github/gsd-build/get-shit-done) — TypeScript, 97,332 code lines
- [facebook/docusaurus](https://octocounts.com/github/facebook/docusaurus) — TypeScript, 97,767 code lines
- [tt-a1i/hive](https://octocounts.com/github/tt-a1i/hive) — TypeScript, 96,108 code lines
- [yarnpkg/berry](https://octocounts.com/github/yarnpkg/berry) — TypeScript, 95,811 code lines
- [personamanagmentlayer/pcl](https://octocounts.com/github/personamanagmentlayer/pcl) — TypeScript, 95,361 code lines
- [vitest-dev/vitest](https://octocounts.com/github/vitest-dev/vitest) — TypeScript, 95,342 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)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [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)
