2. See What It Can Do

Once you have a recipe in Soustack format, you can validate it, display it, and use it with various tools and applications.

Validation

Install the Soustack package to validate your recipe against the Soustack schema:

npm install soustack@0.5.0

Use soustack-core to validate your recipe against the Soustack schema. This ensures your recipe conforms to the specification and can be safely consumed by applications.

Validation checks:

  • Required fields are present
  • Data types match the schema
  • Stack declarations are valid (if present)
  • Profile conformance (if declared)

Display and rendering

Use soustack-blocks or soustack-embed to render your recipes in web applications. These tools provide UI primitives for displaying recipes with proper formatting and interactivity.

For minimal integration, use soustack-embed as a drop-in solution. For more control, use soustack-blocks to build custom recipe displays.

Consumption by applications

Applications can consume Soustack recipes to:

  • Display recipes to users
  • Perform calculations (scaling, timing, etc.)
  • Generate shopping lists
  • Plan meal schedules
  • Track cooking progress

Because Soustack is a standard format, any application that supports it can work with your recipes.

Next steps

Now that you understand what you can do with basic recipes, you can upgrade your recipe by adding stacks for additional capabilities.