Skip to content
JS
Package

html2canvas

Screenshots with JavaScript

v1.4.1, 22 Jan 2022MITESM + CommonJSTypes: BundledDOM and browser utilities
$ npm install html2canvas

Key numbers

As of 25 Sept 2026
Weekly downloads
12.6m
+229% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
4 years ago
v1.4.1
GitHub stars
31.9k
4.9k forks
Open issues / PRs
976 / 78
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 17.8m (25 Aug 2026)Low 3.6m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

12,571,829 downloads last week, 58,391,575 in the last month. The 12-month change of +229% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
017 in total
Latest version
1.4.1, 22 Jan 20224 years ago
First published
19 Jan 2015
Last push to GitHub
18 Jul 2024798 days before the snapshot
Repository archived
No
Open issues
976
Open pull requests
78
Commits, last 52 weeks
0
Dependents on npm
3,700

Major versions

  1. v1 first release 1.0.0, 4 Jul 2021

Recent releases

VersionPublished
1.4.122 Jan 2022
1.4.02 Jan 2022
1.3.429 Dec 2021
1.3.323 Nov 2021
1.3.215 Aug 2021
1.3.114 Aug 2021
1.3.013 Aug 2021
1.2.210 Aug 2021
1.2.15 Aug 2021
1.2.04 Aug 2021
1.1.52 Aug 2021
1.1.415 Jul 2021
1.1.314 Jul 2021
1.1.213 Jul 2021
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=8.0.0
Runtimes
-
Unpacked size (npm)
3.2 MB
Dependencies (2)
css-line-breaktext-segmentation
npm install html2canvas

CDN

jsDelivr: 91.1m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/html2canvas@1.4.1/
  • unpkghttps://unpkg.com/html2canvas@1.4.1/
  • esm.shhttps://esm.sh/html2canvas@1.4.1
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.