Files
lynchmark/tests/4_transpiler/outputs/openrouter_bert-nebulon-alpha.js
2025-11-27 02:15:29 +00:00

6 lines
275 B
JavaScript

const renderTemplate = async (template, data) => {
const { default: Handlebars } = await import('https://cdn.jsdelivr.net/npm/handlebars@latest/dist/handlebars.min.js')
const compiled = Handlebars.compile(template)
return compiled(data)
}
export default renderTemplate;