firetpl

FireTPL is a pretty Javascript template engine. FireTPL uses indention for scops and blocks, supports includes, helper and inline functions.

Usage no npm install needed!

<script type="module">
  import firetpl from 'https://cdn.skypack.dev/firetpl';
</script>

README

FireTPL a powerful template engine for Javascript

FireTPL is a powerful Javascript template engine for node.js and browser It supports two types of syntax. The fire syntax uses indention for scops and blocks, supports includes, helper and inline functions. An alternative syntax is similar to Handlebars. Most Handlebars templates may be compatible with FireTPL.

Installation

npm install -g firetpl

Usage

firetpl -o out.html template.fire