render mustache templates in express
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
License.md
Readme.md
index.js
package.json

Readme.md

splat

render templates in your express apps (streaming coming soon)

example

var splat = require('splat'),
    app = require('express')();

// configure express to use splat
app.configure(function(){
  // templates location
  app.set('views', 'templates');
  // default view engine
  app.set('view engine', 'mustache');
  // set the engine to splat
  app.engine('.mustache', splat.render);
});

install

$ npm install splat

// for tests

$ npm install splat --dev