UNPKG

@forge42/seo-tools

Version:

Framework agnostic set of helpers designed to help you create, maintain and develop your SEO

22 lines (19 loc) 763 B
import { Article, WithContext } from 'schema-dts'; export { Article } from 'schema-dts'; /** * This helper is used to generate an article ld+json structured data object. * * * Find more information about the article schema here: * https://developers.google.com/search/docs/appearance/structured-data/article * * Article objects must be based on one of the following schema.org types: Article, NewsArticle, BlogPosting. * - Article: https://schema.org/Article * - NewsArticle: https://schema.org/NewsArticle * - BlogPosting: https://schema.org/BlogPosting * * @param article Article object * @returns Article object to be used in head via json-ld script tag */ declare const article: (article: Article) => WithContext<Article>; export { article };