UNPKG

@cf-wasm/og

Version:

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

126 lines 3.12 kB
{ "name": "@cf-wasm/og", "version": "0.4.1", "description": "Generate Open Graph Images dynamically from HTML/CSS without a browser.", "keywords": [ "open-graph-image", "open-graph", "og-image", "og:image", "social", "card", "image", "wasm", "cloudflare-workers" ], "license": "MIT", "author": { "name": "Deo Kumar", "email": "deo@fineshopdesign.com", "url": "https://github.com/kumardeo" }, "homepage": "https://github.com/fineshopdesign/cf-wasm/tree/main/packages/og#readme", "repository": { "type": "git", "url": "https://github.com/fineshopdesign/cf-wasm", "directory": "packages/og" }, "bugs": { "url": "https://github.com/fineshopdesign/cf-wasm/issues" }, "publishConfig": { "access": "public", "provenance": true }, "files": [ "dist" ], "type": "module", "module": "./dist/workerd.js", "types": "./dist/workerd.d.ts", "exports": { "./package.json": "./package.json", "./noto-sans-v27-latin-regular.ttf.bin": "./dist/lib/noto-sans-v27-latin-regular.ttf.bin", ".": { "node": { "import": { "types": "./dist/node.d.ts", "default": "./dist/node.js" }, "require": { "types": "./dist/node.d.cts", "default": "./dist/node.cjs" } }, "edge-light": { "types": "./dist/edge-light.d.ts", "import": "./dist/edge-light.js" }, "workerd": { "types": "./dist/workerd.d.ts", "import": "./dist/workerd.js" }, "default": { "types": "./dist/workerd.d.ts", "import": "./dist/workerd.js" } }, "./workerd": { "types": "./dist/workerd.d.ts", "import": "./dist/workerd.js" }, "./edge-light": { "types": "./dist/edge-light.d.ts", "import": "./dist/edge-light.js" }, "./node": { "import": { "types": "./dist/node.d.ts", "default": "./dist/node.js" }, "require": { "types": "./dist/node.d.cts", "default": "./dist/node.cjs" } }, "./others": { "import": { "types": "./dist/others.d.ts", "default": "./dist/others.js" }, "require": { "types": "./dist/others.d.cts", "default": "./dist/others.cjs" } }, "./html-to-react": { "import": { "types": "./dist/html-to-react.d.ts", "default": "./dist/html-to-react.js" }, "require": { "types": "./dist/html-to-react.d.cts", "default": "./dist/html-to-react.cjs" } } }, "dependencies": { "@hedgedoc/html-to-react": "^2.1.1", "@cf-wasm/resvg": "0.3.5", "@cf-wasm/satori": "0.3.7" }, "devDependencies": { "@types/node": "^26.1.1", "@types/react": "^19.2.17", "glob": "^13.0.6", "react": "^19.2.7", "tsdown": "^0.22.5" }, "scripts": { "lint": "biome lint ./src", "check": "biome check ./src", "check:types": "tsc --noEmit", "build": "NODE_ENV=production tsdown", "dev": "NODE_ENV=development tsdown --watch" } }