Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/eta/src/render.ts>render

Embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable. Written in TypeScript
Latest
function render
import { render } from "https://deno.land/x/eta@v3.5.0/src/render.ts";

Type Parameters

T extends object

Parameters

this: Eta
template: string | TemplateFunction
data: T
optional
meta: { filepath: string; }

Returns

string