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

x/eta/mod.ts

Embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable. Written in TypeScript
Go to Latest
File
/* Export file stuff */import { includeFileHelper } from "./file-helpers.ts";import { config } from "./config.ts";
config.includeFile = includeFileHelper;config.filepathCache = {};
export { loadFile, renderFile, renderFile as __express,} from "./file-handlers.ts";
/* End file stuff */
export { default as compileToString } from "./compile-string.ts";export { default as compile } from "./compile.ts";export { default as parse } from "./parse.ts";export { default as render } from "./render.ts";export { templates } from "./containers.ts";export { config, config as defaultConfig, getConfig, configure,} from "./config.ts";