@repo/seo generates metadata, JSON-LD structured data, sitemaps, robots.txt, and OpenGraph images. Built on the Next.js Metadata API.
Usage
Key Exports
| Export | Purpose |
|---|---|
createMetadata | Page metadata with OpenGraph and Twitter cards |
JsonLd | JSON-LD structured data component |
generateSitemap | Sitemap from static and dynamic routes |
generateRobots | robots.txt configuration |
generateOgImage | Dynamic OpenGraph image rendering |
createMetadata handles canonical URLs, title templates, and social cards automatically. Pass only page-specific values.