@uzimaru0000/vercel-og-image

1.6.1 • Public • Published

@uzimaru0000/vercel-og-image

Vercel's Runtime to generate OGP from JS or HTML.

How to use

vercel.json

{
  "version": 2,
  "functions": {
    "api/**/*.(html|js)": {
      "runtime": "@uzimaru0000/vercel-og-image@1.5.0",
      "memory": 1024
    }
  }
}

The JS file that will be the entry point must be a function that returns ReactComponents or a default export of an HTML string.

Readme

Keywords

Package Sidebar

Install

npm i @uzimaru0000/vercel-og-image

Weekly Downloads

0

Version

1.6.1

License

MIT

Unpacked Size

46.8 MB

Total Files

10

Last publish

Collaborators

  • uzimaru0000