Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/eta/containers.ts

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