Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Handlebars integration for express
JavaScript
branch: master

v0.0.2

latest commit f899be4f3a
@jneen authored
Failed to load latest commit information.
lib use app.engine in more recent versions of express
.gitignore ignore the node_modules dir
LICENSE initial import
README.md README
index.js initial import
package.json v0.0.2

README.md

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.

Something went wrong with that request. Please try again.