express-hogan.js

0.3.0 • Public • Published

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

/express-hogan.js/

    Package Sidebar

    Install

    npm i express-hogan.js

    Weekly Downloads

    6

    Version

    0.3.0

    License

    none

    Last publish

    Collaborators

    • dundee