Package
canvg
JavaScript SVG parser and renderer on Canvas.
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
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
- v4 first release 4.0.0, 17 Feb 2022
- v3 first release 3.0.0, 4 Dec 2019
- v2 first release 2.0.0, 18 May 2019
- v1 first release 1.0.0, 9 Mar 2018
- v0 first release 0.0.1, 14 Dec 2012
Recent releases
| Version | Published |
|---|---|
| 3.0.11 | 13 Mar 2025 |
| 4.0.3 | 12 Mar 2025 |
| 4.0.2 | 22 Apr 2024 |
| 4.0.1 | 19 Jul 2022 |
| 4.0.0 | 17 Feb 2022 |
| 3.0.10 | 27 Jan 2022 |
| 3.0.9 | 5 Oct 2021 |
| 3.0.8 | 14 Sept 2021 |
| 3.0.7 | 17 Oct 2020 |
| 3.0.6 | 24 Mar 2020 |
| 3.0.5 | 29 Jan 2020 |
| 3.0.4 | 7 Jan 2020 |
| 3.0.2 | 6 Dec 2019 |
| 3.0.1 | 4 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 canvgCDN
jsDelivr: 1.9m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/canvg@4.0.3/ - unpkg
https://unpkg.com/canvg@4.0.3/ - esm.sh
https://esm.sh/canvg@4.0.3
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| dom-to-image | 227.9k | - | 8 years ago | CommonJS | canvg vs dom-to-image |
| html-to-image | 4.8m | - | 1 year ago | ESM + CommonJS | canvg vs html-to-image |
| zrender | 3.7m | - | 4 months ago | ESM + CommonJS | canvg vs zrender |
| vega-canvas | 670.9k | - | 1 year ago | ESM only | - |
| wmf | 9.4m | - | 6 years ago | CommonJS | - |
| node-vibrant | 552.1k | - | 7 months ago | ESM + CommonJS | - |
| diagram-js | 210.9k | - | - | ESM + CommonJS | - |
Related
Indexability: Indexed.