Skip to content
JS
Package

canvg

JavaScript SVG parser and renderer on Canvas.

v4.0.3, 12 Mar 2025MITESM + CommonJSTypes: BundledImage processing3D, WebGL and game engines
$ npm install canvg

Key numbers

As of 25 Sept 2026
Weekly downloads
9.7m
+261% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
1 year ago
v4.0.3
GitHub stars
3.8k
615 forks
Open issues / PRs
117 / 22
Contributors
-
Commits, last 52 weeks
8

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 13.9m (25 Aug 2026)Low 2.7m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

9,748,797 downloads last week, 49,423,027 in the last month. The 12-month change of +261% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
028 in total
Latest version
4.0.3, 12 Mar 20251 year ago
First published
14 Dec 2012
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
117
Open pull requests
22
Commits, last 52 weeks
8
Dependents on npm
346

Major versions

  1. v4 first release 4.0.0, 17 Feb 2022
  2. v3 first release 3.0.0, 4 Dec 2019
  3. v2 first release 2.0.0, 18 May 2019
  4. v1 first release 1.0.0, 9 Mar 2018
  5. v0 first release 0.0.1, 14 Dec 2012

Recent releases

VersionPublished
3.0.1113 Mar 2025
4.0.312 Mar 2025
4.0.222 Apr 2024
4.0.119 Jul 2022
4.0.017 Feb 2022
3.0.1027 Jan 2022
3.0.95 Oct 2021
3.0.814 Sept 2021
3.0.717 Oct 2020
3.0.624 Mar 2020
3.0.529 Jan 2020
3.0.47 Jan 2020
3.0.26 Dec 2019
3.0.14 Dec 2019
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=12.0.0
Runtimes
-
Unpacked size (npm)
1.2 MB
Dependencies (5)
rafrgbcolor@types/rafsvg-pathdatastackblur-canvas
npm install canvg

CDN

jsDelivr: 1.9m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/canvg@4.0.3/
  • unpkghttps://unpkg.com/canvg@4.0.3/
  • esm.shhttps://esm.sh/canvg@4.0.3
PackageWeekly downloadsGzipLast releaseModuleComparison
dom-to-image227.9k-8 years agoCommonJScanvg vs dom-to-image
html-to-image4.8m-1 year agoESM + CommonJScanvg vs html-to-image
zrender3.7m-4 months agoESM + CommonJScanvg vs zrender
vega-canvas670.9k-1 year agoESM only-
wmf9.4m-6 years agoCommonJS-
node-vibrant552.1k-7 months agoESM + CommonJS-
diagram-js210.9k--ESM + CommonJS-

Related

Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.