Skip to content
JS
Comparison

zrender vs dom-to-image

Image processingPackage data 25 Sept 2026
zrenderv6.1.0, 4 May 2026

A lightweight graphic library providing 2d draw for Apache ECharts

$ npm install zrender
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
Metriczrenderdom-to-imageDifference
Weekly downloads3,680,956227,866zrender 16.2x higher
12-month download growth+237%+17%zrender +221 pts
Gzip size---
Minified size---
Dependencies10zrender 1 more
Unpacked size4.1 MB--
Latest release6.1.0, 4 May 20262.6.0, 4 Oct 2017zrender 8.6 years more recent
Releases, last 12 months1--
First published29 Aug 2014--
GitHub stars6,30710,780dom-to-image 1.7x higher
Open issues326283zrender 43 more
Open pull requests4855dom-to-image 7 more
Contributors---
Commits, last 52 weeks320zrender higher
TypeScript typesBundledNoneDiffers
Module formatESM + CommonJSCommonJSDiffers
Runtimes---
LicenseBSD-3-ClauseMITDiffers

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.

zrender3.7m latest weekdom-to-image227.9k 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.

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

dom-to-image

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

-

dom-to-image

-

zrender

-

dom-to-image

-

  • Need no runtime dependenciesdom-to-image (zrender has 1, dom-to-image has 0)
  • Need both ESM and CommonJS entry pointszrender (zrender: ESM + CommonJS; dom-to-image: CommonJS)
  • Need to load it with require()Both
  • Need TypeScript types in the package itselfzrender (zrender: Bundled; dom-to-image: None)
  • Need the more recent releasezrender (6.1.0 on 4 May 2026 vs 2.6.0 on 4 Oct 2017)
  • Higher weekly npm downloadszrender (3.7m vs 227.9k)
  • Licensezrender: BSD-3-Clause; dom-to-image: MIT

Each line is generated from the data above.

Indexability: Indexed.