# blueimp/JavaScript-Templates

1KB lightweight, fast & powerful JavaScript templating engine with zero dependencies. Compatible with server-side environments like node.js, module loaders like RequireJS and all web browsers.

Repository: https://github.com/blueimp/JavaScript-Templates
Canonical: https://ross.abutalabs.com/products/javascript-templates
Homepage: https://blueimp.github.io/JavaScript-Templates/
Language: JavaScript
License: MIT
License Family: permissive
Archived: true
Last push: 2021-09-25T15:04:10+00:00

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

## Adoption (not part of the score)
Stars 1713, forks 646 (observed 2026-08-28T04:05:25.961996+00:00)

## What it is
A 1KB lightweight JavaScript templating engine with zero dependencies that compiles templates into fast JavaScript functions. It works in all web browsers and server-side environments like Node.js, with module loader support for RequireJS and webpack.

## Use cases
- render html templates from  data in the browser
- lightweight client-side templating without a big framework
- use the same templates on node.js server and browser client
- interpolate data into html with escaping
- loop over arrays and evaluate expressions inside templates
- cache and reuse compiled template functions

## When to choose
- you need a tiny, dependency-free templating engine under 1KB
- you want fast compiled templates with a simple tmpl() api
- you need templates that work in both browsers and node.js
- you prefer javascript syntax inside templates rather than a custom dsl

## When to avoid
- you need a full-featured framework with components and reactive state
- you want sandboxed or logic-less templating like mustache/handlebars
- you need automatic html escaping everywhere without opt-in encoding
- the project appears to be in maintenance mode with infrequent releases

## Facets
- artifact type: library
- maturity: maintenance
- function: templating
- domain: web-development, frontend, developer-tools
- platform: browser, cross-platform
- tags: javascript-templating, lightweight, zero-dependencies, client-side-rendering, server-side-rendering, nodejs

## Member repositories
- blueimp/JavaScript-Templates (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:25.961996+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-30T03:34:41.874529+00:00, confidence not recorded.
  - readme: https://github.com/blueimp/JavaScript-Templates (fetched 2026-08-28T04:05:25.961996+00:00, sha 6b61454ba4a6)
  - homepage: https://blueimp.github.io/JavaScript-Templates/ (fetched 2026-08-29T11:11:01.050327+00:00, sha ffb2896d2c4b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
