# Edge.js: 6.3 out of 10

Reasonable, with limits. 5th of 8 in [Template engines](https://elestia.ai/opensource/templates/index.md).

Edge.js is the server-side template engine made by the AdonisJS team. It has syntax close to JavaScript, components with slots, and content stacks. It is well built, maintained, and a good fit for AdonisJS, but outside that framework few people use it, and Eta or Nunjucks are safer general picks.

**Best for:** AdonisJS apps, and Node.js developers who want Blade-style components and layouts in server-rendered HTML.

## Scores

- **Overall: 6.3** (likely 5.2 to 7.3)
  - Claude Opus 5.5 (5.5): It is a solid, maintained engine and the natural choice inside AdonisJS. Outside AdonisJS, Eta is faster and growing faster, and Nunjucks, EJS and LiquidJS have far larger communities and more agent familiarity. It has low independent adoption and its downloads grow below the median.
  - GPT-6.2 Sol (7.0): Edge is a strong pick for AdonisJS views and for Node.js teams that want reusable layouts with named slots. EJS is easier to recommend for straightforward Express views because of its direct integration, wider adoption, and more recent maintenance. Edge's slower release cadence and limited evidence from production users outside AdonisJS leave room for the recommendation to vary by stack.
- **Needed by many: 4.1** (likely 3.0 to 5.5)
  - Claude Opus 5.5 (3.5): Server-side HTML templating is a real but shrinking need, now that most web UIs are built with JSX frameworks. Edge runs only on Node.js and is used mostly from AdonisJS, so it serves a narrower group than general engines like EJS or Handlebars.
  - GPT-6.2 Sol (4.7): Server-rendered pages and templated emails give Edge a clear audience. It works in plain Node.js and Fastify, with its deepest integration in AdonisJS. The developer survey measures backend framework use, so the share of teams that need a separate template engine remains approximate.
- **Helps a lot: 7.2** (likely 6.1 to 8.2)
  - Claude Opus 5.5 (6.5): It has a rich feature set: components with slots, a context API, stacks, async rendering, and full JavaScript expressions, plus its own TypeScript types. In a 2026 community benchmark it is mid-pack, slower than Eta and EJS but faster than Nunjucks, LiquidJS and Handlebars. Agents have seen less Edge code than code for the large engines, and outside AdonisJS its documentation is thinner.
  - GPT-6.2 Sol (7.8): Edge 6.5.1 has well-documented layouts, named slots, JavaScript expressions, and async rendering. The package ships TypeScript declarations, but the render API leaves template data unchecked, so coding agents can pass the wrong fields without a compiler error. One independent benchmark put Edge behind EJS and Eta with caching off. Cached production performance and agent accuracy remain less certain.
- **Holds up over time: 6.1** (likely 4.7 to 7.5)
  - Claude Opus 5.5 (6.0): The AdonisJS core team maintains it, and AdonisJS v7 (February 2026) still builds on it, which keeps the project alive. Activity is low but steady: 12 commits and 3 releases last year, the last on 2026-05-21, with almost no open issues. It depends on a small team, and the Scorecard 'Maintained' check scores 0.
  - GPT-6.2 Sol (6.2): Edge had 12 commits and three releases in the past year, with a six-month gap since its May patch. It has a small issue backlog, and recent 6.x releases added features or updated dependencies. The community-funded AdonisJS project still ships Edge in v7, but the number of people who can publish a release and typical issue response times are unclear.
- **Used widely: 3.5** (likely 2.5 to 4.6)
  - Claude Opus 5.5 (3.5): It had about 471k downloads in 4 weeks, up 3.1x on a year ago. That is below the 4.1x median, so it is losing ground, and most installs come from AdonisJS apps. It has 4,151 dependent repos, far below Eta (15k) and LiquidJS (13.7k), and has no Hacker News or Bluesky attention.
  - GPT-6.2 Sol (3.4): The index found 4,151 dependent repositories and 71 dependent packages, the smallest repository footprint among the listed peers. Four-week installs rose from about 154,000 to 471,000, or 3.06×, below the 4.1× catalog baseline. The AdonisJS starter can account for some installs, and partial indexing makes the true number of projects choosing Edge uncertain.
- **Vouched for: 5.3** (likely 3.9 to 6.7)
  - Claude Opus 5.5 (4.5): Its main backer is the AdonisJS framework, which uses it as the default engine and in its Hypermedia starter kit. I found no independent reviews, survey data or notable production users beyond that. One 2026 community benchmark includes it.
  - GPT-6.2 Sol (6.0): AdonisJS ships Edge in its Hypermedia starter, Adocasts uses it in its publishing platform, and Fastify maintains an optional integration. An older user thread praised its Blade-like syntax and reported thinner support outside AdonisJS. The independent benchmark covers one small workload, and the evidence for broader production use and developer satisfaction is limited.
- **Safe: 6.5** (likely 5.3 to 7.6)
  - Claude Opus 5.5 (7.0): It has one moderate XSS advisory from 2021, which was fixed, and none in the last 24 months. It is MIT licensed with 9 dependencies. The OpenSSF Scorecard is low (3.4), with no code review, no branch protection and unpinned dependencies, and releases depend on a small team.
  - GPT-6.2 Sol (5.9): Edge has a permissive MIT license and nine direct dependencies. Its only listed advisory was a moderate XSS flaw patched before public disclosure in 2021. The 3.4 OpenSSF score flags weak branch protection, code review, and workflow permissions, and the release workflow uses a stored npm token even though publishing is configured to generate provenance. Publisher access is unclear.

## Good

- Components with slots, a context API, and stacks such as @pushTo and @stack make it easy to build layouts.
- You can write any JavaScript expression in a template, so there is little new syntax to learn.
- It ships its own TypeScript types and is fully integrated into AdonisJS v7, including the typed urlFor helper and edge-markdown.
- The issue backlog is small (1 open issue) and it has only one old advisory, which was fixed.

## Bad

- Outside AdonisJS it has little community use, and almost no independent reviews or discussion.
- It is slower than Eta and EJS in a 2026 community benchmark.
- It runs on Node.js only, and AI coding agents have seen far less Edge code than EJS, Handlebars or Nunjucks code.
- Development is slow: 12 commits and 3 releases last year, most of them dependency updates or small new tags.

## The numbers

- Downloads, 4 weeks: 471k
- In a year: ×3.1
- GitHub stars: 804
- Commits, 12 months: 12
- Last npm release: May 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/edge-js/edge
- npm: https://www.npmjs.com/package/edge.js

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
