@forge42/seo-tools
Version:
Framework agnostic set of helpers designed to help you create, maintain and develop your SEO
13 lines (10 loc) • 400 B
TypeScript
import { Recipe, WithContext } from 'schema-dts';
export { Recipe } from 'schema-dts';
/**
* This helper is used to generate a Recipe ld+json structured data object.
* @param recipe Recipe object
* @see https://schema.org/Recipe
* @returns Returns a Recipe object to be used in head via json-ld script tag
*/
declare const recipe: (recipe: Recipe) => WithContext<Recipe>;
export { recipe };