Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dundee/express-hogan.js

Node.js module for using Hogan templating system within Express framework
https://github.com/dundee/express-hogan.js

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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