Package
html-to-image
Generates an image from a DOM node using HTML5 canvas and SVG.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 4.8m
- +421% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 1 year ago
- v1.11.13
- GitHub stars
- 7.2k
- 676 forks
- Open issues / PRs
- 157 / 46
- Contributors
- -
- Commits, last 52 weeks
- 22
Downloads
Last week 2026-09-15 to 2026-09-21
4,782,295 downloads last week, 22,387,024 in the last month. The 12-month change of +421% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 073 in total
- Latest version
- 1.11.13, 14 Feb 20251 year ago
- First published
- 4 Dec 2017
- Last push to GitHub
- 28 May 2026120 days before the snapshot
- Repository archived
- No
- Open issues
- 157
- Open pull requests
- 46
- Commits, last 52 weeks
- 22
- Dependents on npm
- 902
Major versions
- v1 first release 1.1.0, 26 Oct 2020
- v0 first release 0.0.1, 4 Dec 2017
Recent releases
| Version | Published |
|---|---|
| 1.11.13 | 14 Feb 2025 |
| 1.11.12 | 12 Feb 2025 |
| 1.11.11 | 1 Feb 2023 |
| 1.11.10 | 1 Feb 2023 |
| 1.11.9 | 31 Jan 2023 |
| 1.11.8 | 31 Jan 2023 |
| 1.11.7 | 30 Jan 2023 |
| 1.11.6 | 30 Jan 2023 |
| 1.11.5 | 30 Jan 2023 |
| 1.11.4 | 1 Jan 2023 |
| 1.11.3 | 16 Dec 2022 |
| 1.11.2 | 13 Dec 2022 |
| 1.11.1 | 5 Dec 2022 |
| 1.11.0 | 5 Dec 2022 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 308 kB
- Dependencies (0)
- None
npm install html-to-imageCDN
jsDelivr: 3.9m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/html-to-image@1.11.13/ - unpkg
https://unpkg.com/html-to-image@1.11.13/ - esm.sh
https://esm.sh/html-to-image@1.11.13
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| dom-to-image | 227.9k | - | 8 years ago | CommonJS | html-to-image vs dom-to-image |
| canvg | 9.7m | - | 1 year ago | ESM + CommonJS | canvg vs html-to-image |
| node-vibrant | 552.1k | - | 7 months ago | ESM + CommonJS | html-to-image vs node-vibrant |
| wmf | 9.4m | - | 6 years ago | CommonJS | - |
| vega-canvas | 670.9k | - | 1 year ago | ESM only | - |
| zrender | 3.7m | - | 4 months ago | ESM + CommonJS | html-to-image vs zrender |
| panzoom | 107.7k | - | 6 months ago | CommonJS | html-to-image vs panzoom |
| satori | 2.7m | - | 2 days ago | ESM + CommonJS | - |
Related
Indexability: Indexed.