jneen / express-handlebars

Handlebars integration for express

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Handlebars integration for express

License:MIT License


Languages

Language:JavaScript 100.0%