Skip to content

Node.js module for using Hogan templating system within Express framework

Notifications You must be signed in to change notification settings

dundee/express-hogan.js

Repository files navigation

Express - Hogan.js adapter

Enables use of Hogan.js templates in Express framework

Installation

$ npm install express-hogan.js

Quick Start

$ npm install express-hogan.js
$ cd node_modules/express-hogan.js

Install express

$ npm install express

Start test app:

$ node testapp.js

Usage

// include Express-hogan
var expressHogan = require('express-hogan.js');

// register templating
app.engine('hjs', expressHogan.renderFile);

// more can be found in testapp.js

About

Node.js module for using Hogan templating system within Express framework

Resources

Stars

Watchers

Forks

Packages

No packages published