express-render

dead simple render setup

npm install express-render
10 downloads in the last week
36 downloads in the last month

Why express render?

Rendering templates in express is always a headache. It sucks. Always. This makes it easy.

Install

npm install express-render

Quick Start

express render can work with any rendering engine that consolidate supports

var server = require('express')()
  , render = require('express-render')(server)

render.init({
    render_engine: 'underscore'
  , template_type: 'html'
  , views_directory: './'
})

server.get('/', function(request, response) {
    response.render('index.html', {
        foo: bar
    })
})
server.listen(some port)
npm loves you