Home

Awesome

express-handlebars

Usage

var app = require('express').createServer()
  , Handlebars = require('handlebars')
;

require('express-handlebars')(app, Handlebars);

Why

This package hooks into express.helpers and express.dynamicHelpers, and ensures that Handlebars.registerHelper is called properly, so that custom block helpers can be defined in the usual express-ive way.