An open API service indexing awesome lists of open source software.

https://github.com/wevm/hono-og

Fork of @vercel/og to support Hono JSX.
https://github.com/wevm/hono-og

Last synced: about 1 year ago
JSON representation

Fork of @vercel/og to support Hono JSX.

Awesome Lists containing this project

README

          

# hono-og

Fork of `@vercel/og` to be compatible with **[Hono's JSX pragma](https://hono.dev/guides/jsx)**.

- [Actual README](https://www.npmjs.com/package/@vercel/og)
- [Website](https://vercel.com/docs/functions/edge-functions/og-image-generation)

## Example

```tsx
import { Hono } from "hono"
import { ImageResponse } from "hono-og"

const app = new Hono()

app.get("/", () => {
return new ImageResponse(



hello hono

,
)
})

export default app
```