https://github.com/mde/ejs/issues/262
I find the way to support 'async/await'.
let tempate = 'Hello <%- await getName() %>';let { return { }}html = await ejs;// Hello John.
HOW TO ?
// lib/ejs.js line 523try // let fn to be async. ; // fn = new Function(opts.localsName + ', escapeFn, include, rethrow', src);catche // .... // ....