Package
dom-to-image
Generates an image from a DOM node using HTML5 canvas and SVG
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 227.9k
- +17% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 8 years ago
- v2.6.0
- GitHub stars
- 10.8k
- 1.7k forks
- Open issues / PRs
- 283 / 55
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
227,866 downloads last week, 1,230,006 in the last month. The 12-month change of +17% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 2.6.0, 4 Oct 20178 years ago
- First published
- -
- Last push to GitHub
- 8 Apr 2024899 days before the snapshot
- Repository archived
- No
- Open issues
- 283
- Open pull requests
- 55
- Commits, last 52 weeks
- 0
- Dependents on npm
- 447
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- -
- Dependencies (0)
- None
npm install dom-to-imageCDN
jsDelivr: 7.7m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/dom-to-image@2.6.0/ - unpkg
https://unpkg.com/dom-to-image@2.6.0/ - esm.sh
https://esm.sh/dom-to-image@2.6.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| html-to-image | 4.8m | - | 1 year ago | ESM + CommonJS | html-to-image vs dom-to-image |
| @maxgraph/core | 32.8k | - | 2 months ago | ESM + CommonJS | - |
| canvg | 9.7m | - | 1 year ago | ESM + CommonJS | canvg vs dom-to-image |
| wmf | 9.4m | - | 6 years ago | CommonJS | - |
| vega-canvas | 670.9k | - | 1 year ago | ESM only | - |
| zrender | 3.7m | - | 4 months ago | ESM + CommonJS | zrender vs dom-to-image |
| tui-image-editor | 27k | - | 4 years ago | CommonJS | - |
| node-vibrant | 552.1k | - | 7 months ago | ESM + CommonJS | node-vibrant vs dom-to-image |
Related
Indexability: Indexed.