@cf-wasm/satori
v0.1.26
Published
Enlightened library to convert HTML and CSS to SVG.
Downloads
536
Maintainers
Readme
@cf-wasm/satori
Enlightened library to convert HTML and CSS to SVG.
Powered by satori.
Installation
npm install @cf-wasm/satori # npm
yarn add @cf-wasm/satori # yarn
pnpm add @cf-wasm/satori # pnpm
Usage
Cloudflare Workers / Pages (Esbuild):
import { satori } from "@cf-wasm/satori";
Next.js Edge Runtime (Webpack):
import { satori } from "@cf-wasm/satori/next";
Node.js (file base):
import { satori } from "@cf-wasm/satori/node";
Documentation
Read official documentation at satori.