1.0.5 • Published 2 years ago

schema-recipes v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

schema-recipes

This library provides functions to retrieve recipe data from any website URL. The website data must be in schema.org format https://schema.org/.

The recipe schema data can be converted into a structured recipe object.

Get the recipe as a structured object:

const recipe = await getRecipe('https://<example.com/recipe>');

Get only the schema.org recipe format:

const recipe = await getSchemaRecipe('https://<example.com/recipe>');

Get a website info in the schema.org format:

const recipe = await getSchemaWebSite('https://<example.com>');
1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago