# express-hbsc

> express handlebars

Latest version **1.5.8** (published 2017-02-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install express-hbsc
pnpm add express-hbsc
yarn add express-hbsc
bun add express-hbsc
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.5.8 |
| Published | 2017-02-13 |
| First published | 2015-06-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 15 |
| Known vulnerabilities | 0 (+7 in 3 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Prashanth Iyer |
| Maintainers | munichlinux |
| Keywords | expressjs, handlebars |

## Links

- npm: https://www.npmjs.com/package/express-hbsc
- Repository: https://github.com/munichlinux/express-hbsc
- Homepage: https://github.com/munichlinux/express-hbsc#readme
- Issues: https://github.com/munichlinux/express-hbsc/issues
- npm.io page: https://npm.io/package/express-hbsc

## Dependencies (15)

- [q](https://npm.io/package/q.md) ^1.4.1
- [to](https://npm.io/package/to.md) ^0.2.9
- [nap](https://npm.io/package/nap.md) ~0.7.11
- [grunt](https://npm.io/package/grunt.md) ^0.4.5
- [lodash](https://npm.io/package/lodash.md) ^4.11.2
- [marked](https://npm.io/package/marked.md) ^0.3.5
- [js-yaml](https://npm.io/package/js-yaml.md) ^3.6.0
- [matchdep](https://npm.io/package/matchdep.md) ^1.0.1
- [matchkeys](https://npm.io/package/matchkeys.md) ^0.2.2
- [minimatch](https://npm.io/package/minimatch.md) ^3.0.0
- [handlebars](https://npm.io/package/handlebars.md) ^4.0.5
- [iconv-lite](https://npm.io/package/iconv-lite.md) ^0.4.13
- [underscore](https://npm.io/package/underscore.md) ^1.8.3
- [sort-object](https://npm.io/package/sort-object.md) ^3.0.2
- [highlight.js](https://npm.io/package/highlight.js.md) ^9.3.0

## Recent versions

- 1.5.8 (latest) — 2017-02-13
- 1.5.7 — 2016-05-04
- 1.5.5 — 2016-05-04
- 1.5.4 — 2016-05-04
- 1.5.3 — 2016-05-04
- 1.5.1 — 2016-05-04
- 1.5.0 — 2016-05-04
- 1.4.8 — 2016-03-31
- 1.4.7 — 2016-03-31
- 1.4.6 — 2016-03-31
- 1.4.5 — 2016-03-31
- 1.4.4 — 2016-03-31
- 1.4.3 — 2016-03-31
- 1.4.2 — 2016-03-31
- 1.4.1 — 2016-03-31
- … 8 more at https://npm.io/package/express-hbsc/versions

## README

# ExpressJS Handlebar Middleware
This is a middleware for ExpressJS. It has inbuild [handlebar helpers] (https://github.com/assemble/handlebars-helpers). Some of the noteable features are layout, partials, comparisons.


## Install 

```bash
npm install express-hbsc --save
```

### Add to your middleware

```js
var Handlebars = require("handlebars");
var express = require("express");

// Add custom helpers
Handlebars.registerHelper("")

var app = express();

// Pass Handlebars Instance;


app.set("views", "app/views");
app.set("view engine", "hbs");
var Hbsc = require("express-hbsc")(app, Handlebars);

app.engine("hbs", Hbsc.render);
```

### Layouts & Partials

Any dir in your view path with dir name _partial and files in the dir will be registered as partial. Checkout the example app.

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