lightweight-chartsv5.2.1, 12 Aug 2026
Performant financial charts built with HTML5 canvas
$ npm install lightweight-charts| Metric | chart.js | lightweight-charts | Difference |
|---|---|---|---|
| Weekly downloads | 9,019,858 | 761,677 | chart.js 11.8x higher |
| 12-month download growth | +85% | +418% | lightweight-charts +333 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 1 | 1 | Same |
| Unpacked size | 5.9 MB | 3.0 MB | lightweight-charts 2.0x smaller |
| Latest release | 4.5.1, 13 Oct 2025 | 5.2.1, 12 Aug 2026 | lightweight-charts 10 months more recent |
| Releases, last 12 months | 1 | 4 | lightweight-charts 3 more |
| First published | 8 Jul 2014 | 28 May 2019 | chart.js 4.9 years earlier |
| GitHub stars | 67,720 | 17,350 | chart.js 3.9x higher |
| Open issues | 498 | 114 | chart.js 384 more |
| Open pull requests | 89 | 17 | chart.js 72 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 21 | 328 | lightweight-charts 15.6x higher |
| TypeScript types | Bundled | Bundled | Same |
| Module format | ESM + CommonJS | ESM only | Differs |
| Runtimes | - | - | - |
| License | MIT | Apache-2.0 | Differs |
Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.
chart.js9m latest weeklightweight-charts761.7k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
chart.js
Major versions
- 1.0.17 Jan 2015
- 2.0.09 Apr 2016
- 3.0.02 Apr 2021
- 4.0.114 Nov 2022
Last 5 releases
- 4.5.113 Oct 2025
- 4.5.014 Jun 2025
- 4.4.915 Apr 2025
- 4.4.819 Feb 2025
- 4.4.71 Dec 2024
77 releases in total, 1 in the last 12 months
lightweight-charts
Major versions
- 1.0.08 Jul 2019
- 2.0.025 Feb 2020
- 3.0.011 Jun 2020
- 4.0.08 Feb 2023
- 5.0.02 Jan 2025
Last 5 releases
- 5.2.112 Aug 2026
- 5.2.024 Apr 2026
- 5.1.016 Dec 2025
- 5.0.91 Oct 2025
- 5.0.826 Jun 2025
50 releases in total, 4 in the last 12 months
chart.js
-
lightweight-charts
-
chart.js
-
lightweight-charts
-
- Need both ESM and CommonJS entry pointschart.js (chart.js: ESM + CommonJS; lightweight-charts: ESM only)
- Need to load it with require()chart.js
- Need TypeScript types in the package itselfBoth
- Need the more recent releaselightweight-charts (5.2.1 on 12 Aug 2026 vs 4.5.1 on 13 Oct 2025)
- Higher weekly npm downloadschart.js (9m vs 761.7k)
- Licensechart.js: MIT; lightweight-charts: Apache-2.0
Each line is generated from the data above.
- echarts vs lightweight-chartsNo search data
- lightweight-charts vs gojsNo search data
chart.js: chart.js npm registry, chart.js npm downloads, chart.js GitHub, chart.js jsDelivr. Data fetched 25 Sept 2026.
lightweight-charts: lightweight-charts npm registry, lightweight-charts npm downloads, lightweight-charts GitHub, lightweight-charts jsDelivr. Data fetched 25 Sept 2026.
Indexability: Indexed.