Skip to main content
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Manual
API Reference
Deno Deploy
Deno KV
Deno by Example
Modules
Current path
deno.land/x
Standard Library
Node.js & npm
JSR
Blog
Search…
⌘K
Module
x
/
eta
/
src
/
core.ts
Embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable. Written in TypeScript
eta-dev/eta
Popular
Version
v3.4.0
v3.3.0
v3.2.0
v3.1.1
v3.1.0
v3.0.3
v3.0.2
v2.2.0
v2.1.2
v2.1.1
v2.1.0
v2.0.1
v2.0.0
v1.14.2
v1.14.1
v1.14.0
v1.13.0
v1.12.3
v1.12.2
v1.12.1
v1.12.0
v1.11.0
v1.10.1
v1.10.0
v1.9.0
v1.8.0
v1.7.0
v1.6.2
v1.6.1
v1.6.0
v1.5.0
v1.4.0
v1.3.0
Go to Latest
Menu
index.ts
(default module)
c
Eta
browser.ts
c
Eta
compile-string.ts
f
compileBody
f
compileToString
compile.ts
T
TemplateFunction
f
compile
config.ts
I
EtaConfig
I
Options
v
defaultConfig
core.ts
c
Eta
c
EtaError
err.ts
c
EtaError
f
ParseErr
f
RuntimeErr
file-handling.ts
f
readFile
f
resolvePath
parse.ts
I
TemplateObject
T
AstObject
T
TagType
f
parse
render.ts
f
render
f
renderAsync
f
renderString
f
renderStringAsync
storage.ts
c
Cacher
utils.ts
f
trimWS
f
XMLEscape
import
*
as
eta
from
"https://deno.land/x/eta@v3.2.0/src/core.ts"
;
Classes
c
Eta
c
EtaError