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

x/next_php/src/deps.ts>ejs.Template

NextPHP is a web framework enabling you to write PHP in JavaScript.
Latest
namespace ejs.Template
import { ejs } from "https://deno.land/x/next_php@1.1.2/src/deps.ts";
const { Template } = ejs;
class ejs.Template
import { ejs } from "https://deno.land/x/next_php@1.1.2/src/deps.ts";
const { Template } = ejs;

Constructors

new
Template(text: string, opts?: Options)

Properties

readonly
source: string

The compiled JavaScript function source, or the empty string if the template hasn't been compiled yet.

readonly
templateText: string

The EJS template source text.