Package Exports
- @fynqo/structured-data
- @fynqo/structured-data/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@fynqo/structured-data) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.