Ross ROSS = Recommend OSS · open-source software intelligence for agents

yanhaijing/template.js

A javascript template engine, simple, easy & extras, support webpack, rspack, vite, rollup, esbuild, parcel, browserify, fis and gulp. observed · 2026-08-28

github.com/yanhaijing/template.js · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

37/100

  • Activity 11
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4261
  • days_rel: n/a
  • days_push: 535
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1318 stars · 484 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

template.js is a simple JavaScript template engine supporting parsing, compilation, and rendering with native JS syntax. It offers precompilation plugins for mainstream bundlers like webpack, vite, rollup, esbuild, and parcel, plus a CLI and editor plugins.

Use cases

  • render html templates from javascript data
  • precompile templates with webpack or vite
  • replace string concatenation with a template engine
  • use a lightweight handlebars or ejs alternative
  • set up a template project with a cli scaffolder
  • highlight template syntax in vscode or sublime

When to choose

  • you want a simple, native-JS-syntax template engine
  • you need precompilation integrated with your bundler
  • you need both browser and Node support with TypeScript types
  • you want JIT and AOT compilation modes

When to avoid

  • you need a full-featured framework like React or Vue for UI rendering
  • you prefer logic-less templates like Mustache or Handlebars
  • you need server-side templating for a non-JavaScript stack

Facets

library · maturity active

templating parser cli plugin-system web-development frontend developer-tools browser cross-platform cli template-engine precompilation jit aot webpack-plugin vite-plugin sandbox typescript nodejs

1 source

Member repositories

RepositoryRoleHealth v2
yanhaijing/template.jsmain37

For agents

markdown · JSON · MCP: product_card(name="yanhaijing/template.js")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem