mozilla/nunjucks
A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired) observed · 2026-08-28
Health v2 · maintenance only
52/100
- Activity 66
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5137
- days_rel: n/a
- days_push: 207
- n_releases_24m: 0
Adoption not part of the score
8988 stars · 659 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Nunjucks is a full-featured JavaScript templating engine heavily inspired by Jinja2, supporting template inheritance, macros, autoescaping, asynchronous control, and custom filters/extensions. It runs in Node.js and all modern browsers, with precompilation for a small runtime footprint.
Use cases
- render html templates in a node.js server
- jinja2-style templating for javascript
- share templates between server and browser
- precompile templates for fast client-side rendering
- build static site pages with template inheritance
- port django/jinja2 templates to a javascript stack
When to choose
- you want jinja2-like syntax in JavaScript
- you need template inheritance, macros, and filters
- you need the same templates in Node and the browser
- you're using frameworks like Eleventy or Apostrophe CMS that rely on it
When to avoid
- you prefer logic-less templates like Handlebars or Mustache
- you're in a React/Vue-style component ecosystem
- you need streaming or very modern async template features
Facets
library · maturity stable
templating web-framework ssr web-development frontend backend developer-tools browser cross-platform jinja2-inspired template-engine html-templates precompilation template-inheritance nodejs javascript
3 sources
- readme: https://github.com/mozilla/nunjucks · fetched 2026-08-28 · d159c7edab6f
- homepage: https://mozilla.github.io/nunjucks/ · fetched 2026-08-29 · c32708aedfb5
- registry_npm: https://registry.npmjs.org/nunjucks · fetched 2026-08-29 · 88bd6cae2055
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mozilla/nunjucks | main | 52 |
For agents
markdown · JSON · MCP: product_card(name="mozilla/nunjucks")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem