node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey ยป


Why express render?

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


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_engine: 'underscore'
  , template_type: 'html'
  , views_directory: './'

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