JSPM

  • Created
  • Published
  • Downloads 2743
  • Score
    100M100P100Q128572F
  • License MPL-2.0

Generate Open Graph Images dynamically from HTML/CSS without a browser.

Package Exports

  • @cf-wasm/og
  • @cf-wasm/og/next
  • @cf-wasm/og/node
  • @cf-wasm/og/workers

Readme

@cf-wasm/og

Generate Open Graph Images dynamically from HTML/CSS without a browser.
Powered by @vercel/og.

Installation

Install the package by running the following command in terminal:

npm install @cf-wasm/og

Usage

  • Cloudflare workers:
    import * as og from "@cf-wasm/og";
  • Next.js (Webpack):
    import * as og from "@cf-wasm/og/next";
  • CJS (file base):
    import * as og from "@cf-wasm/og/node";