Overview of Vento template engine
mainVento is a minimal, ergonomic template engine inspired by Nunjucks, Liquid, Mustache, and EJS. It is designed to be fast, dependency-free, and compatible with various JavaScript runtimes including Deno, Node, Bun, and browsers.
Key characteristics include:
- Ergonomic Syntax: Uses
{{and}}for all tags and outputs. - JavaScript Integration: You can write real JavaScript anywhere within templates (e.g.,
{{ await user.getName() }}). - Async Support: Built-in support for asynchronous operations without requiring special tags.
- Pipeline Operators: Uses the
|>operator for filters, inspired by the F# pipeline operator proposal. - Plugin-based Architecture: Most features and tags are implemented as plugins, allowing for a flexible and extensible system.