Skip to content
JS
Comparison

html-to-image vs panzoom

Image processingPackage data 25 Sept 2026
html-to-imagev1.11.13, 14 Feb 2025

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

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

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

$ npm install panzoom
Metrichtml-to-imagepanzoomDifference
Weekly downloads4,782,295107,693html-to-image 44.4x higher
12-month download growth+421%+55%html-to-image +366 pts
Gzip size---
Minified size---
Dependencies03panzoom 3 more
Unpacked size308 kB702 kBhtml-to-image 2.3x smaller
Latest release1.11.13, 14 Feb 20259.4.4, 26 Mar 2026panzoom 13 months more recent
Releases, last 12 months0--
First published4 Dec 2017--
GitHub stars7,2412,007html-to-image 3.6x higher
Open issues157150html-to-image 7 more
Open pull requests4631html-to-image 15 more
Contributors---
Commits, last 52 weeks226html-to-image 3.7x higher
TypeScript typesBundledBundledSame
Module formatESM + CommonJSCommonJSDiffers
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.

html-to-image4.8m 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.

html-to-image

Major versions
  1. 0.0.14 Dec 2017
  2. 1.1.026 Oct 2020
Last 5 releases
  1. 1.11.1314 Feb 2025
  2. 1.11.1212 Feb 2025
  3. 1.11.111 Feb 2023
  4. 1.11.101 Feb 2023
  5. 1.11.931 Jan 2023
73 releases in total, 0 in the last 12 months

panzoom

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

-

panzoom

-

html-to-image

-

panzoom

-

  • Need no runtime dependencieshtml-to-image (html-to-image has 0, panzoom has 3)
  • Need both ESM and CommonJS entry pointshtml-to-image (html-to-image: ESM + CommonJS; panzoom: CommonJS)
  • Need to load it with require()Both
  • Need TypeScript types in the package itselfBoth
  • Need the more recent releasepanzoom (9.4.4 on 26 Mar 2026 vs 1.11.13 on 14 Feb 2025)
  • Higher weekly npm downloadshtml-to-image (4.8m vs 107.7k)

Each line is generated from the data above.

Indexability: Indexed.