Recipes Plugin
Search and retrieve cooking recipes from your own collection and external sources
CLI
Import the example recipe
$ npx recipes import https://raw.githubusercontent.com/edgestream/recipes-plugin/main/examples/spaghetti-carbonara.json
spaghetti-carbonara
List the recipes in the collection
$ npx recipes list
spaghetti-carbonara: Spaghetti Carbonara with Guanciale and Pecorino
Search through the collection
$ npx recipes search Spaghetti
spaghetti-carbonara: Spaghetti Carbonara with Guanciale and Pecorino
Show a complete recipe document
$ npx recipes show spaghetti-carbonara
{
"@context": "https://schema.org",
"@type": "Recipe",
"@id": "https://github.com/edgestream/recipes-plugin/blob/main/examples/spaghetti-carbonara.json",
"name": "Spaghetti Carbonara with Guanciale and Pecorino",
...
}
Development
Install dependencies, type-check the workspace, and run the test suite
npm install
npm run check
npm test