Skip to content
JS
Comparison

canvg vs zrender

Image processingPackage data 25 Sept 2026
canvgv4.0.3, 12 Mar 2025

JavaScript SVG parser and renderer on Canvas.

$ npm install canvg
zrenderv6.1.0, 4 May 2026

A lightweight graphic library providing 2d draw for Apache ECharts

$ npm install zrender
MetriccanvgzrenderDifference
Weekly downloads9,748,7973,680,956canvg 2.6x higher
12-month download growth+261%+237%canvg +23 pts
Gzip size---
Minified size---
Dependencies51canvg 4 more
Unpacked size1.2 MB4.1 MBcanvg 3.3x smaller
Latest release4.0.3, 12 Mar 20256.1.0, 4 May 2026zrender 14 months more recent
Releases, last 12 months01zrender 1 more
First published14 Dec 201229 Aug 2014canvg 20 months earlier
GitHub stars3,8366,307zrender 1.6x higher
Open issues117326zrender 209 more
Open pull requests2248zrender 26 more
Contributors---
Commits, last 52 weeks832zrender 4.0x higher
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.

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

canvg

Major versions
  1. 0.0.114 Dec 2012
  2. 1.0.09 Mar 2018
  3. 2.0.018 May 2019
  4. 3.0.04 Dec 2019
  5. 4.0.017 Feb 2022
Last 5 releases
  1. 3.0.1113 Mar 2025
  2. 4.0.312 Mar 2025
  3. 4.0.222 Apr 2024
  4. 4.0.119 Jul 2022
  5. 4.0.017 Feb 2022
28 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
canvg

-

zrender

-

canvg

-

zrender

-

  • Module formatBoth ESM + CommonJS
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirementcanvg: >=12.0.0; zrender: none declared (engines field in package.json)
  • Need the more recent releasezrender (6.1.0 on 4 May 2026 vs 4.0.3 on 12 Mar 2025)
  • Higher weekly npm downloadscanvg (9.7m vs 3.7m)
  • Licensecanvg: MIT; zrender: BSD-3-Clause

Each line is generated from the data above.

Indexability: Indexed.