Skip to content
JS
Alternatives

dom-to-image alternatives

8 packages that do the same job as dom-to-image: html-to-image, @maxgraph/core, canvg, wmf, vega-canvas, zrender, tui-image-editor, node-vibrant. Figures below are from npm, GitHub and Bundlephobia.

Data as of 25 Sept 2026
PackageWeekly downloads12-month changeGzipDependenciesLast releaseModuleTypesRuntimes
dom-to-image
This package
227.9k+17%-08 years agoCommonJSNone-
html-to-image4.8m+421%-01 year agoESM + CommonJSBundled-
@maxgraph/core32.8k--02 months agoESM + CommonJSBundled-
canvg9.7m+261%-51 year agoESM + CommonJSBundled-
wmf9.4m+210%-06 years agoCommonJSBundled-
vega-canvas670.9k+230%-01 year agoESM onlyNone-
zrender3.7m+237%-14 months agoESM + CommonJSBundled-
tui-image-editor27k+34%-34 years agoCommonJSNone-
node-vibrant552.1k+528%-67 months agoESM + CommonJSBundled-

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.

Generates an image from a DOM node using HTML5 canvas and SVG.

Compared with dom-to-image

  • 21x more weekly downloads (4.8m vs 227.9k)
  • ESM + CommonJS vs CommonJS
  • Bundled types vs no types
  • Last release 14 Feb 2025 vs 4 Oct 2017
  • 1.5x fewer GitHub stars (7.2k vs 10.8k)

maxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.

Compared with dom-to-image

  • 6.9x fewer weekly downloads (32.8k vs 227.9k)
  • ESM + CommonJS vs CommonJS
  • Bundled types vs no types
  • Last release 8 Jul 2026 vs 4 Oct 2017
  • 9.5x fewer GitHub stars (1.1k vs 10.8k)

JavaScript SVG parser and renderer on Canvas.

Compared with dom-to-image

  • 43x more weekly downloads (9.7m vs 227.9k)
  • 5 dependencies vs 0
  • ESM + CommonJS vs CommonJS
  • Bundled types vs no types
  • Declares Node.js >=12.0.0 vs none declared
  • Last release 12 Mar 2025 vs 4 Oct 2017
  • 2.8x fewer GitHub stars (3.8k vs 10.8k)

Windows MetaFile (WMF) parser

Compared with dom-to-image

  • 41x more weekly downloads (9.4m vs 227.9k)
  • Bundled types vs no types
  • Declares Node.js >=0.8 vs none declared
  • Last release 16 Mar 2020 vs 4 Oct 2017
  • 634x fewer GitHub stars (17 vs 10.8k)

Canvas and Image utilities.

Compared with dom-to-image

  • 2.9x more weekly downloads (670.9k vs 227.9k)
  • ESM only vs CommonJS
  • Last release 27 Mar 2025 vs 4 Oct 2017
  • 1.1x more GitHub stars (12k vs 10.8k)

A lightweight graphic library providing 2d draw for Apache ECharts

Compared with dom-to-image

  • 16x more weekly downloads (3.7m vs 227.9k)
  • 1 dependency vs 0
  • ESM + CommonJS vs CommonJS
  • Bundled types vs no types
  • Last release 4 May 2026 vs 4 Oct 2017
  • 1.7x fewer GitHub stars (6.3k vs 10.8k)

TOAST UI ImageEditor

Compared with dom-to-image

  • 8.4x fewer weekly downloads (27k vs 227.9k)
  • 3 dependencies vs 0
  • Last release 25 Apr 2022 vs 4 Oct 2017
  • 1.4x fewer GitHub stars (7.7k vs 10.8k)

Extract prominent colors from an image. Supports both node and browser environment.

Compared with dom-to-image

  • 2.4x more weekly downloads (552.1k vs 227.9k)
  • 6 dependencies vs 0
  • ESM + CommonJS vs CommonJS
  • Bundled types vs no types
  • Last release 27 Jan 2026 vs 4 Oct 2017
  • 4.4x fewer GitHub stars (2.5k vs 10.8k)
Sources: npm registry, npm downloads API, GitHub API, Bundlephobia. Data fetched 25 Sept 2026.

Indexability: Indexed.