Skip to content
JS
Comparison

html-to-image vs zrender

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
zrenderv6.1.0, 4 May 2026

A lightweight graphic library providing 2d draw for Apache ECharts

$ npm install zrender
Metrichtml-to-imagezrenderDifference
Weekly downloads4,782,2953,680,956html-to-image +30%
12-month download growth+421%+237%html-to-image +183 pts
Gzip size---
Minified size---
Dependencies01zrender 1 more
Unpacked size308 kB4.1 MBhtml-to-image 13.7x smaller
Latest release1.11.13, 14 Feb 20256.1.0, 4 May 2026zrender 15 months more recent
Releases, last 12 months01zrender 1 more
First published4 Dec 201729 Aug 2014zrender 3.3 years earlier
GitHub stars7,2416,307html-to-image +15%
Open issues157326zrender 169 more
Open pull requests4648zrender 2 more
Contributors---
Commits, last 52 weeks2232zrender +45%
TypeScript typesBundledBundledSame
Module formatESM + CommonJSESM + CommonJSSame
Runtimes---
LicenseMITBSD-3-ClauseDiffers

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 weekzrender3.7m 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

zrender

Major versions
  1. 2.0.229 Aug 2014
  2. 3.0.014 Jan 2016
  3. 4.0.016 Jan 2018
  4. 5.0.010 Nov 2020
  5. 6.0.023 Jul 2025
Last 5 releases
  1. 6.1.04 May 2026
  2. 6.0.023 Jul 2025
  3. 5.6.111 Dec 2024
  4. 4.3.36 Dec 2024
  5. 5.6.017 Jun 2024
74 releases in total, 1 in the last 12 months
html-to-image

-

zrender

-

html-to-image

-

zrender

-

  • Need no runtime dependencieshtml-to-image (html-to-image has 0, zrender has 1)
  • Module formatBoth ESM + CommonJS
  • Need TypeScript types in the package itselfBoth
  • Need the more recent releasezrender (6.1.0 on 4 May 2026 vs 1.11.13 on 14 Feb 2025)
  • Higher weekly npm downloadshtml-to-image (4.8m vs 3.7m)
  • Licensehtml-to-image: MIT; zrender: BSD-3-Clause

Each line is generated from the data above.

Indexability: Indexed.