first commit

This commit is contained in:
2026-07-21 16:50:58 +02:00
commit 256599626e
407 changed files with 30489 additions and 0 deletions
@@ -0,0 +1,7 @@
export const fillRecipeTemplate = (
template: string,
vars: { name?: string; n?: number }
): string =>
template
.replace(/\{name\}/g, vars.name ?? "")
.replace(/\{n\}/g, vars.n !== undefined ? String(vars.n) : "");