Package Exports
- @cf-wasm/satori
- @cf-wasm/satori/next
- @cf-wasm/satori/node
- @cf-wasm/satori/others
- @cf-wasm/satori/package.json
- @cf-wasm/satori/workers
- @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 (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.