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

x/eta/file-handlers.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.0.0/file-handlers.ts";

Parameters

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

Returns

Promise<string> | void