@cf-wasm/satori
v0.1.19
Published
Enlightened library to convert HTML and CSS to SVG.
Downloads
610
Maintainers
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/satori
Usage
- 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";
Documentation
Read official documentation at satori.