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

0.1.19 • Public • Published

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

Package Sidebar

Install

npm i @cf-wasm/satori

Weekly Downloads

279

Version

0.1.19

License

MPL-2.0

Unpacked Size

208 kB

Total Files

21

Last publish

Collaborators

  • kumardeo