Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dundee/express-hogan.js
- Owner: dundee
- Created: 2011-12-28T23:36:45.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2012-07-18T17:08:07.000Z (over 12 years ago)
- Last Synced: 2024-10-28T11:44:53.606Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 113 KB
- Stars: 28
- Watchers: 3
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: Readme.md
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.jsInstall 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