@cf-wasm/satori
TypeScript icon, indicating that this package has built-in type declarations

0.1.26 • Public • Published

@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.

Package Sidebar

Install

npm i @cf-wasm/satori

Weekly Downloads

143

Version

0.1.26

License

MPL-2.0

Unpacked Size

208 kB

Total Files

21

Last publish

Collaborators

  • kumardeo