mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-02-04 09:57:54 +00:00
9 lines
223 B
JavaScript
9 lines
223 B
JavaScript
let h,p;
|
|
|
|
const renderTemplate=async(t,d)=>{
|
|
h??=await(p||=import('https://esm.sh/handlebars@4.7.8').then(m=>m.default));
|
|
return h.compile(t)(d);
|
|
};
|
|
export default renderTemplate;
|
|
// Generation time: 43.297s
|
|
// Result: PASS
|