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>compile

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

Compile the given str of ejs into a template function.

Parameters

template: string
opts: Options & { async: true; client?: false; }

Parameters

template: string
opts: Options & { async: true; client: true; }

Parameters

template: string
optional
opts: Options & { async?: false; client?: false; }

Parameters

template: string
optional
opts: Options & { async?: false; client: true; }