Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (10 sloc) 0.415 kB

Tmplhate

Provided a common interface for Javascript templating engines (and who knows what else). Inspired by Tilt.

An experimental API for unifying template libraries

var tmplhate = require('tmplhate');

tmplhate.process( 'wuuut.jst.tmpl', function(err, output){
  //do something with `output`
});

// Register a new Template Engine
tmplhate.register( SomeTemplateClass, '.foo' );
Jump to Line
Something went wrong with that request. Please try again.