Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
a common interface for Javascript Template libraries
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example/templates
lib
test
.gitignore
package.json
readme.md

readme.md

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' );
Something went wrong with that request. Please try again.