artist

Template engine for node.js built on fest

Artist

Artist is template engine for node.js built on Fest.

npm install -g artist

Express:

app.engine('xml', require('artist').render());
 

Express (production environment):

app.engine('xml', require('artist').render({
    debug: false
}));
 

Synchronous version:

var render = require('artist').renderSync();
// ... 
var html = render('index.html', {foo: 'bar'});