mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-01-14 00:27:55 +00:00
7 lines
245 B
JavaScript
7 lines
245 B
JavaScript
async function renderTemplate(template, data) {
|
|
const { default: Handlebars } = await import('https://esm.sh/handlebars');
|
|
return Handlebars.compile(template)(data);
|
|
}
|
|
export default renderTemplate;
|
|
// Generation time: 2.930s
|
|
// Result: PASS
|