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

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

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

Custom file loader. Useful for template preprocessing or restricting access to a certain part of the filesystem.

definition: (path: string) => string | { toString(): string; }
variable ejs.fileLoader
import { ejs } from "https://deno.land/x/next_php@1.1.2/src/deps.ts";
const { fileLoader } = ejs;