Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/view_engine/node_modules/@types/ejs/index.d.ts>renderFile

🚀A Template View Engine for Deno frameworks
Latest
function renderFile
import { renderFile } from "https://deno.land/x/view_engine@v10.6.0/node_modules/@types/ejs/index.d.ts";

Render an EJS file at the given path and callback cb(err, str).

If you would like to include options but not data, you need to explicitly call this function with data being an empty object or null.

Parameters

path: string
optional
data: Data
optional
opts: Options

Returns

Promise<string>