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

x/eta/mod.ts>renderFileAsync

Embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable. Written in TypeScript
Go to Latest
function renderFileAsync
import { renderFileAsync } from "https://deno.land/x/eta@v2.1.0/mod.ts";

Parameters

filename: string
data: DataObj
optional
config: PartialConfig
optional
cb: CallbackFn

Returns

Promise<string> | void