Files
lynchmark/tests/4_transpiler/outputs/x-ai_grok-4.1-fast.js
2025-11-27 02:15:29 +00:00

8 lines
271 B
JavaScript

const getHandlebars=(async()=>(await import('https://esm.sh/handlebars@4.7.8')).default)();
async function renderTemplate(template,data){
const Handlebars=await getHandlebars;
const fn=Handlebars.compile(template);
return fn(data);
}
export default renderTemplate;