tarkine
v1.1.1
Published
Tarkine - A lightweight and high-performance template engine for Node.js, designed for speed and simplicity.
Maintainers
Readme
Features
- 🚀 Fast template rendering
- 📦 Zero dependencies
- 🔒 Automatic HTML escaping
- ✨ Raw HTML output when needed
- 🔀 Conditionals
- 🔁 Loops (arrays & objects)
- 🧮 JavaScript expressions
- 🌍 Global variables
- 💾 Compiled template caching
- 📄 Template includes
Installation
npm install tarkineQuick Start
const { createEngine } = require("tarkine");
const engine = createEngine();
const html = engine.render(
"Hello, {{ name }}!",
{ name: "World" }
);
console.log(html); // Hello, World!License
MIT © Madhanmaaz
