# ericf/express-handlebars

A Handlebars view engine for Express which doesn't suck.

Repository: https://github.com/ericf/express-handlebars
Canonical: https://ross.abutalabs.com/products/express-handlebars
Language: JavaScript
License: BSD-3-Clause
License Family: permissive
Last push: 2023-09-18T05:50:34+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4986, "days_push": 1080, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2325, forks 371 (observed 2026-08-28T04:06:37.394483+00:00)

## What it is
A Handlebars view engine for Express that adds back layouts and partials support removed in Express 3.x. It provides smart template caching, async non-blocking file I/O, and precompilation support for client-side template sharing.

## Use cases
- render handlebars templates in an express app
- add layout support to express views
- use partials directory with handlebars in express
- cache compiled templates in production express server
- precompile handlebars templates for client-side use
- swap in a custom handlebars implementation

## When to avoid
- you use a framework other than Express
- you prefer modern alternatives like consolidated.js engines or a full frontend framework
- you need actively developed features or frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: templating, web-framework, middleware
- domain: web-development, backend, developer-tools
- platform: -
- tags: handlebars, express, view-engine, layouts, partials, template-caching, nodejs, web-server

## Member repositories
- ericf/express-handlebars (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:37.394483+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:38:23.698486+00:00, confidence not recorded.
  - readme: https://github.com/ericf/express-handlebars (fetched 2026-08-28T04:06:37.394483+00:00, sha 849ed875df20)
- Data as of 2026-08-30T08:39:29.467469+00:00.
