import { renderAsync } from "https://deno.land/x/lume@v1.15.3/deps/eta.ts";
Render a template asynchronously
If template
is a string, Eta will compile it to a function and call it with the provided data.
If template
is a function, Eta will call it with the provided data.
If there is a callback function, Eta will call it with (err, renderedTemplate)
.
If there is not a callback function, Eta will return a Promise that resolves to the rendered template
Render a template asynchronously
If template
is a string, Eta will compile it to a function and call it with the provided data.
If template
is a function, Eta will call it with the provided data.
If there is a callback function, Eta will call it with (err, renderedTemplate)
.
If there is not a callback function, Eta will return a Promise that resolves to the rendered template
Render a template asynchronously
If template
is a string, Eta will compile it to a function and call it with the provided data.
If template
is a function, Eta will call it with the provided data.
If there is a callback function, Eta will call it with (err, renderedTemplate)
.
If there is not a callback function, Eta will return a Promise that resolves to the rendered template