Skip to main content
Module

x/eta/containers.ts

Embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable. Written in TypeScript
Very Popular
Go to Latest
File
import { Cacher } from "./storage.ts";
/* TYPES */
import type { TemplateFunction } from "./compile.ts";
/* END TYPES */
/** * Eta's template storage * * Stores partials and cached templates */
var templates = new Cacher<TemplateFunction>({});
export { templates };