Enlightened library to convert HTML and CSS to SVG.
Powered by satori.
Install the package by running the following command in terminal:
npm install @cf-wasm/satori
- Cloudflare workers:
import * as satori from "@cf-wasm/satori";
- Next.js (Webpack):
import * as satori from "@cf-wasm/satori/next";
- CJS (file base):
import * as satori from "@cf-wasm/satori/node";
Read official documentation at satori.