x/eta@v1.12.3/mod.ts

Embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable. Written in TypeScript
GitHub Stars
590
Latest
/* 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, renderFileAsync,} 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, renderAsync } from "./render.ts";export { templates } from "./containers.ts";export { config, config as defaultConfig, configure, getConfig,} from "./config.ts";