@zedtech/zedkit-seo
Emit typed JSON-LD structured data
@zedtech/zedkit-seo — beta
beta
At a glance
- Who: Developers who want rich results without hand-writing schema.org JSON.
- What: Typed builders for Organization, WebPage, Breadcrumb and Article JSON-LD.
- Use when: On pages eligible for rich results (articles, org pages, breadcrumbs).
- Avoid when: For data with no matching schema.org type — skip structured data instead of forcing it.
- See also: Build localized page metadata
Install
pnpm add @zedtech/zedkit-seoLatest: 0.1.3 (via changesets).
Example
import { buildArticleJsonLd, buildBreadcrumbJsonLd } from "@zedtech/zedkit-seo";
const jsonLd = buildArticleJsonLd({ title, description, url, datePublished });
<script type="application/ld+json">{JSON.stringify(jsonLd)}</script>Wraps: schema-dts