@cf-wasm/resvg
v0.1.22
Published
A high-performance SVG renderer and toolkit, powered by Rust based resvg.
Downloads
515
Maintainers
Readme
@cf-wasm/resvg
A high-performance SVG renderer and toolkit, powered by Rust based resvg.
Powered by @resvg/resvg-wasm.
Installation
npm install @cf-wasm/resvg # npm
yarn add @cf-wasm/resvg # yarn
pnpm add @cf-wasm/resvg # pnpm
Usage
Cloudflare Workers / Pages (Esbuild):
import { Resvg } from "@cf-wasm/resvg";
Next.js Edge Runtime (Webpack):
import { Resvg } from "@cf-wasm/resvg/next";
Node.js (file base):
import { Resvg } from "@cf-wasm/resvg/node";
Documentation
Read official documentation at @resvg/resvg-wasm.