Home

Awesome

<img src="https://raw.github.com/micnic/simpleT/master/logo.png"/>

0.2.1

simpleT is a simple template engine for Node.JS and web browsers that has some special features:

Works in Node.JS 0.10+

Any feedback is welcome!

More simple modules:

Changelog

Documentation

Instalation

npm install simplet

Usage

var simplet = require('simplet');

var engine = simplet();

// Create the template
engine.template('template.ejs', 'Hello, <% print(name) %>');

// Render the template
engine.render('template.ejs', {
    name: 'simpleT'
});

//=> Hello, simpleT

// Remove the template
engine.clear('template.ejs');

Syntax