express-handlebars

handlebars.js integration with express

npm install express-handlebars
1 downloads in the last day
8 downloads in the last week
42 downloads in the last month

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.

npm loves you