Skip to content
JS
Comparison

dom-to-image vs panzoom

Image processingPackage data 25 Sept 2026
dom-to-imagev2.6.0, 4 Oct 2017

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

$ npm install dom-to-image
panzoomv9.4.4, 26 Mar 2026

Extensible, mobile friendly pan and zoom framework (supports DOM and SVG).

$ npm install panzoom
Metricdom-to-imagepanzoomDifference
Weekly downloads227,866107,693dom-to-image 2.1x higher
12-month download growth+17%+55%panzoom +38 pts
Gzip size---
Minified size---
Dependencies03panzoom 3 more
Unpacked size-702 kB-
Latest release2.6.0, 4 Oct 20179.4.4, 26 Mar 2026panzoom 8.5 years more recent
Releases, last 12 months---
First published---
GitHub stars10,7802,007dom-to-image 5.4x higher
Open issues283150dom-to-image 133 more
Open pull requests5531dom-to-image 24 more
Contributors---
Commits, last 52 weeks06panzoom higher
TypeScript typesNoneBundledDiffers
Module formatCommonJSCommonJSSame
Runtimes---
LicenseMITMITSame

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.

dom-to-image227.9k latest weekpanzoom106.3k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

dom-to-image

Major versions
  1. -
Last 5 releases
  1. -
Release count not fetched

panzoom

Major versions
  1. -
Last 5 releases
  1. -
Release count not fetched
dom-to-image

-

panzoom

-

dom-to-image

-

panzoom

-

  • Need no runtime dependenciesdom-to-image (dom-to-image has 0, panzoom has 3)
  • Module formatBoth CommonJS
  • Need TypeScript types in the package itselfpanzoom (dom-to-image: None; panzoom: Bundled)
  • Need the more recent releasepanzoom (9.4.4 on 26 Mar 2026 vs 2.6.0 on 4 Oct 2017)
  • Higher weekly npm downloadsdom-to-image (227.9k vs 107.7k)

Each line is generated from the data above.

Indexability: Indexed.