/vento

🌬 A template engine for Deno & Node

Primary LanguageTypeScriptMIT LicenseMIT

Vento

Deno NPM Tests Discord

A minimal, ergonomic template engine inspired by other great engines like Nunjucks, Liquid, Mustache, and EJS.


Features

  • Minimal, fast runtime. 🔥
  • Ergonomic by design. All tags and outputs are written with {{ and }}.
  • Write JavaScript anywhere. {{ await user.getName() }} is real JS executed at runtime.
  • Built-in tags like if, for, include, layout and more.
  • Filters, using the |> pipeline operator. Inspired by the F# pipeline operator proposal
  • Async friendly. No need to use special tags.
  • Flexible plugin system. Nearly all of Vento's features and tags are implemented as plugins.

Getting started

See Getting started in the docs for examples and guidance.

Editor support

See Editor integrations in the docs.