Skip to main content
Deno 2 is finally here 🎉️
Learn more
->
Dismiss
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
Modules
Standard Library
JSR
Node.js & npm
Current path
deno.land/x
Community
Discord
GitHub
X
YouTube
Mastodon
Blog
Search…
⌘K
Module
x
/
eta
/
src
/
index.ts
Embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable. Written in TypeScript
eta-dev/eta
Popular
Version
v3.5.0
v3.4.1
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
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.1.1/src/index.ts"
;
Classes
c
Eta