JSPM

@fynqo/structured-data

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14
  • Score
    100M100P100Q65573F
  • License MIT

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, Article, DefinedTerm, ImageObject, VideoObject, WebPage, Dataset, HowTo and more.

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-data

Usage

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

MIT-licensed.