# tj/ejs

Embedded JavaScript templates for node

Repository: https://github.com/tj/ejs
Canonical: https://ross.abutalabs.com/products/tj-ejs
Language: JavaScript
License Family: other
Last push: 2023-09-12T07:15:27+00:00

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

## Adoption (not part of the score)
Stars 4451, forks 497 (observed 2026-08-28T04:08:50.494308+00:00)

## What it is
EJS (Embedded JavaScript) is a template engine for Node.js that lets you generate HTML using plain JavaScript embedded in templates. It integrates with the Express view system and supports includes, caching, custom delimiters, and client-side rendering.

## Use cases
- render html pages from node.js server
- use a template engine with express
- generate html emails from templates
- server-side render views with embedded javascript
- share partial templates with includes

## When to choose
- you want a simple, minimal templating syntax with plain JavaScript
- you are using Express and need a compatible view engine
- you need client-side template compilation

## When to avoid
- you want logic-less templates like Handlebars
- you need the actively maintained v2 line, which lives in mde/ejs
- you need built-in sandboxing or security isolation of template code

## Facets
- artifact type: library
- maturity: maintenance
- function: templating, web-framework
- domain: web-development, frontend, backend
- platform: -
- tags: ejs, express-view-engine, html-templates, server-side-templating, nodejs, javascript

## Member repositories
- tj/ejs (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:50.494308+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-29T18:20:46.574035+00:00, confidence not recorded.
  - readme: https://github.com/tj/ejs (fetched 2026-08-28T04:08:50.494308+00:00, sha 3e9a13786253)
- Data as of 2026-08-30T08:39:29.467469+00:00.
