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-wam/satori
Enlightened library to convert HTML and CSS to SVG.
Powered by satori.
Installation
Install the package by running the following command in terminal:
npm install @cf-wasm/satoriUsage
- 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";