Pug
Some data may be outdated — see provenance labels.
Pug – robust, elegant, feature rich template engine for Node.js observed · 2026-09-26
Health v2 · maintenance only
72/100
- Activity 64
- Release rhythm 67
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 5964
- days_rel: 221
- days_push: 221
- n_releases_24m: 2
Adoption not part of the score
21838 stars · 1936 forks observed · 2026-09-26
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-19, confidence 0.97
Pug is a high-performance, whitespace-sensitive template engine for JavaScript, targeting Node.js and browsers. It compiles concise, Haml‑inspired syntax into HTML at runtime or build time.
Use cases
- convert pug templates into HTML
- render server‑side views with Pug in Express apps
- pre‑compile templates for static site generation
- build email templates using Pug syntax
- integrate Pug into build pipelines via its CLI
When to choose
- you need a fast, expressive templating language for Node.js projects
- you prefer indentation‑based syntax over HTML markup
- you want seamless integration with Express or other Node web frameworks
- you require a CLI to pre‑compile templates for static assets
When to avoid
- you need a full‑featured component framework like React or Vue
- your team is unfamiliar with whitespace‑sensitive languages
- you require a template engine with built‑in security sandboxing beyond what Pug provides
Facets
library · maturity active
templating web-development frontend backend browser cli html-preprocessor pugjs template-engine nodejs
3 sources
- readme: https://github.com/pugjs/pug · fetched 2026-09-26 · c047f33be34f
- homepage: https://pugjs.org · fetched 2026-10-05 · 44136fa355b3
- registry_npm: https://registry.npmjs.org/pug-cli · fetched 2026-10-05 · 4ad8a051bcad
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pugjs/pug | main | 72 |
| pugjs/pug-cli | plugin | 32 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem