# handlebars-lang/handlebars.js

Minimal templating on steroids.

Repository: https://github.com/handlebars-lang/handlebars.js
Canonical: https://ross.abutalabs.com/products/handlebarsjs
Homepage: http://handlebarsjs.com
Language: JavaScript
License: MIT
License Family: permissive
Topics: handlebars, mustache, templates
Last push: 2026-06-24T23:40:45+00:00

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

## Adoption (not part of the score)
Stars 18670, forks 2068 (observed 2026-08-28T04:11:27.009739+00:00)

## What it is
Handlebars.js is a JavaScript templating library, largely compatible with Mustache, that compiles templates into fast-executing JavaScript functions. It adds features like nested paths, helpers, and block expressions for building semantic templates.

## Use cases
- render html templates from json data
- mustache-compatible templating in javascript
- precompile templates for faster page load
- server-side html generation in node
- build semantic templates with helpers and partials

## When to choose
- you need logic-light, Mustache-compatible templates
- you want fast compiled template rendering in Node or the browser
- you need helpers, partials, and block expressions

## When to avoid
- you need a full frontend framework with reactive state
- you prefer logic-heavy templating with embedded code
- you need streaming or async template rendering out of the box

## Facets
- artifact type: library
- maturity: stable
- function: templating, parser
- domain: web-development, frontend, developer-tools
- platform: browser, cross-platform
- tags: handlebars, mustache, template-engine, html-templating, precompilation, nodejs, javascript

## Member repositories
- handlebars-lang/handlebars.js (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:27.009739+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-29T17:01:20.492548+00:00, confidence not recorded.
  - readme: https://github.com/handlebars-lang/handlebars.js (fetched 2026-08-28T04:11:27.009739+00:00, sha 58e428bb745c)
  - homepage: http://handlebarsjs.com (fetched 2026-08-29T07:59:43.480976+00:00, sha 1ed3dbcd88aa)
  - site_page: https://handlebarsjs.com/contributing (fetched 2026-08-29T07:59:43.490545+00:00, sha 93bbc44005e3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
