Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/eta/file-handlers.ts>renderFile

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

Parameters

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

Returns

Promise<string> | void