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

x/view_engine/deps.ts>dejs.renderFileToString

🚀A Template View Engine for Deno frameworks
Latest
function dejs.renderFileToString
import { dejs } from "https://deno.land/x/view_engine@v10.6.0/deps.ts";
const { renderFileToString } = dejs;

Parameters

path: string
params: Params

Returns

Promise<string>