# hjs

> Hogan.js NPM package for express 3.x

Latest version **0.0.6** (published 2013-09-11) · 0 weekly downloads

## Install

```sh
npm install hjs
pnpm add hjs
yarn add hjs
bun add hjs
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2013-09-11 |
| First published | 2012-06-14 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 29 |
| Author | Min-su Ok |
| Maintainers | nullfirm |
| Keywords | mustache, template, hogan.js, hogan, hjs, express, express-hogan |

## Links

- npm: https://www.npmjs.com/package/hjs
- Repository: https://github.com/nullfirm/hjs
- Homepage: https://github.com/nullfirm/hjs.git
- Issues: https://github.com/nullfirm/hjs/issues
- npm.io page: https://npm.io/package/hjs

## Dependencies (1)

- [hogan.js](https://npm.io/package/hogan.js.md) >=2.0.0

## Recent versions

- 0.0.6 (latest) — 2013-09-11
- 0.0.5 — 2013-09-11
- 0.0.4 — 2012-06-18
- 0.0.3 — 2012-06-14
- 0.0.2 — 2012-06-14
- 0.0.1 — 2012-06-14

## README

hjs
=====
[Hogan.js](http://twitter.github.com/hogan.js/) NPM package for [express](http://expressjs.com/) 3.x

## Installation

    $ npm install -g express@3.0  hjs

## 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

```package.json   
    "dependencies": {
        "express": "3.0.0",
        "hjs": "*"
    }
```

    $ npm install

 Edit app.js :

```app.js
    app.set('view engine', 'hjs');
```

 Make views/index.hjs :

```index.hjs
    <html>
    <head>
        <title>{{ title }}</title>
    </head>
    <body>
        <p>{{ title }}</p>
    </body>
    </html>
```

 Start server :

    $ node app
    
    
## More Information
 [express](http://expressjs.com/) is Fast, unopinionated, minimalist web framework for [node](http://nodejs.org).

 [Hogan.js](http://twitter.github.com/hogan.js/) is a compiler for the
[Mustache](http://mustache.github.com/) templating language. For information
on Mustache, see the [manpage](http://mustache.github.com/mustache.5.html) and
the [spec](https://github.com/mustache/spec).

---
_Source: https://npm.io/package/hjs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
