Skip to main content
Module

x/nunjucks/mod.js>default.Loader

A powerful templating engine with inheritance, asynchronous control, and more (Jinja 2 inspired) — ❌ Deprecated: use the `npm:` specifier instead
Latest
class default.Loader
import { default } from "https://deno.land/x/nunjucks@3.2.4/mod.js";
const { Loader } = default;

Methods

emit(name: string, ...args: any[]): void
isRelative(filename: string): boolean
on(name: string, func: (...args: any[]) => any): void
resolve(from: string, to: string): string

Static Methods

extend<LoaderClass extends Loader>(this: LoaderClass, toExtend: ILoader): LoaderClass