# hjs **Repository Path**: mirrors_linslin/hjs ## Basic Information - **Project Name**: hjs - **Description**: Hogan.js NPM package for express 3.x (hjs) - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2026-06-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README h-js ===== [](https://nodei.co/npm/h-js/) [Hogan.js](http://twitter.github.com/hogan.js/) NPM package for [express](http://expressjs.com/) 3.x Forked from https://github.com/nullfirm/hjs due to no support on the original repository. We promise to support this package with all our goodness. ## Installation $ npm install -g express@3.0 h-js ## Quick Start Install Express : $ npm install -g express@3.0 Create express app : $ express -H /tmp/testapp $ cd /tmp/testapp/ & npm install ## Manual Start Install Express : $ npm install -g express@3.0 Create express app : $ express /tmp/testapp $ cd /tmp/testapp/ Edit package.json : $ vi package.json ```json "dependencies": { "express": "3.0.0", "h-js": "*" } ``` $ npm install Edit app.js : ```js app.set('view engine', 'hjs'); app.engine('hjs', require('h-js').renderFile); ``` Make views/index.hjs : ```html
{{ title }}
``` Start server : $ node app ## Partials index.hjs ```html{{ title }}
{{> footer }} ``` footer.hjs ```html