Package Exports
- @cf-wasm/satori
- @cf-wasm/satori/edge-light
- @cf-wasm/satori/jsx
- @cf-wasm/satori/node
- @cf-wasm/satori/others
- @cf-wasm/satori/package.json
- @cf-wasm/satori/workerd
- @cf-wasm/satori/yoga.wasm
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 # pnpmUsage
Cloudflare Workers / Pages (Wrangler):
import { satori } from "@cf-wasm/satori/workerd";
Next.js Edge Runtime:
import { satori } from "@cf-wasm/satori/edge-light";
Node.js (file base):
import { satori } from "@cf-wasm/satori/node";
Documentation
Read official documentation at satori.