@fynqo/structured-data
v0.1.0
Published
Schema.org JSON-LD helpers used by Fynqo's SEO + GEO (Generative Engine Optimization) stack. Pure TypeScript — works in any Next.js, Astro, Remix or Node project. Helpers include Organization, WebSite, SoftwareApplication, FAQPage, BreadcrumbList, Service
Downloads
186
Maintainers
Readme
@fynqo/structured-data
Schema.org JSON-LD helpers used by Fynqo's SEO + GEO (Generative Engine Optimization) stack. Pure TypeScript — works in any Next.js, Astro, Remix, SvelteKit or plain Node project.
Install
npm install @fynqo/structured-dataUsage
import {
fynqoOrganization,
fynqoWebsite,
softwareApplication,
faqPage,
breadcrumbList,
buildGraph,
} from '@fynqo/structured-data';
const jsonLd = buildGraph([
fynqoOrganization(),
fynqoWebsite(),
softwareApplication({
slug: 'zzp',
name: 'Fynqo ZZP',
description: 'Rust in je administratie.',
url: 'https://zzp.fynqo.app',
pricing: 'freemium',
priceLow: '0',
priceHigh: '39.99',
}),
faqPage([{ question: 'Wat is Fynqo?', answer: 'Een rustige werkkamer.' }]),
breadcrumbList([
{ name: 'Home', url: 'https://fynqo.app' },
{ name: 'ZZP', url: 'https://zzp.fynqo.app' },
]),
]);In Next.js you can drop the result straight into a <script> element:
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}
/>In Astro:
<script type="application/ld+json" set:html={JSON.stringify(jsonLd)} />Exported helpers
fynqoOrganization, fynqoWebsite, softwareApplication, faqPage,
breadcrumbList, service, article, definedTerm, imageObject,
videoObject, webPage, dataset, speakable, productPricing, howTo,
buildGraph, entityRef, portalRef, potentialAction, quotation.
All helpers return plain objects — no side effects, no framework dependencies.
Canonical
- Project home: https://fynqo.app
- Source: https://github.com/fynqo/fynqo
MIT-licensed.
