Templating Engines
A single produce()
function generally doesn’t scale well beyond small straightforward repositories.
Templates generally end up using one or more template systems for defining files.
Bingo maintains two first-party templates:
- Handlebars: allows defining files as handlebars templates. Generally recommended for straightforward templates that have more than a half dozen files.
- Stratum: a rich system to define each feature of a template as an independent “Blocks”. Recommended for templates that want to allow rich logic and/or multiple starting presets.
You don’t have to use these engines.
You can always use a single produce()
function or build your own wrappers around Bingo.
These templating engines exist as a suggested convenience.
Made with 💝 in Boston by
Josh Goldberg.