@vercel/og
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "@vercel/og", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "", | ||
"type": "module", | ||
"main": "dist/index.js", | ||
@@ -11,3 +12,3 @@ "files": [ | ||
"scripts": { | ||
"build": "node scripts/build.js" | ||
"build": "tsup src/index.ts --format esm --dts" | ||
}, | ||
@@ -23,4 +24,5 @@ "keywords": [], | ||
"devDependencies": { | ||
"esbuild": "^0.14.48" | ||
"@types/react": "^18.0.15", | ||
"tsup": "^6.1.3" | ||
} | ||
} |
# @vercel/og | ||
[Satori](https://github.com/vercel/satori) based Open Graph Image generation adapter for Vercel’s [Edge Function](https://vercel.com/docs/concepts/functions/edge-functions). | ||
## Basic Usage | ||
@@ -32,1 +34,3 @@ | ||
``` | ||
The React element will be rendered and responded as a PNG from that Edge Function endpoint. For more details and restrictions in image generation, see [Satori](https://github.com/vercel/satori). |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
7
36
2
1
Yes
1266417
2
316