Resvg-JS
High-performance SVG renderer powered by Rust for server-side SVG rasterization.
3D and graphics npm MPL-2.0
How Resvg-JS is used
Resvg-JS is a dependency in 19 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 29 projects, and what it is used with below comes from all of them. The most used alternative in our scan is @napi-rs/canvas (27 projects). Projects that use it most often also use Satori (44.8%), Sharp (41.4%), TypeScript (86.2%).
Resvg-JS popularity over time
Gid Score 50: downloads 73, use in agent projects 33, GitHub stars 23, downloads trend 73 (each 0-100). How it is calculated.
Often used with Resvg-JS
| Satori | 44.8% of Resvg-JS projects · 163.7× more than average |
|---|---|
| Sharp | 41.4% of Resvg-JS projects · 8.8× more than average |
| TypeScript | 86.2% of Resvg-JS projects · 1.6× more than average |
| Tailwind CSS | 65.5% of Resvg-JS projects · 2.0× more than average |
| Playwright (JavaScript) | 44.8% of Resvg-JS projects · 2.6× more than average |
| Vitest | 48.3% of Resvg-JS projects · 2.3× more than average |
| Biome | 24.1% of Resvg-JS projects · 4.3× more than average |
| Astro | 20.7% of Resvg-JS projects · 11.1× more than average |
From all 29 projects in our scan that use Resvg-JS, including the dependency samples.
By coding agent
| Claude Code | 0.3% of projects set up for it |
|---|---|
| GitHub Copilot | 0.4% of projects set up for it |
| Cursor | 0.2% of projects set up for it |
Share of public repos configured for each agent that list Resvg-JS as a dependency.
Install
| Package | npm install @resvg/resvg-js |
|---|---|
| Main stacks | TypeScript / JavaScript (22), Next.js (6), Python (1) |
| Example projects | tscircuit/tscircuit-autorouter, TheAceOfficials/SpatialPosters, openclaw/docs, Eful97/Pictorium, Jannchie/liora |
Alternatives to Resvg-JS
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Resvg-JS are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| @napi-rs/canvas npm High-performance canvas for Node.js using Skia rendering backend. |
59 | 27 (0.6%) | 19.2M | 2,340 | MIT |
| node-canvas npm Canvas graphics API for Node.js backed by Cairo rendering. |
59 | 15 (0.3%) | 4.6M | 10.7K | MIT |
More in 3D and graphics: Three.js Leaflet React Three Fiber React Leaflet Mapbox GL MapLibre GL OGL Simplex Noise