# LiquidJS: 7.3 out of 10

A strong pick. 1st of 8 in [Template engines](https://elestia.ai/opensource/templates/index.md).

LiquidJS is a TypeScript port of Shopify's Liquid language with one dependency. It is the most actively maintained engine in this category and fits best when untrusted users write templates, or when you need Liquid compatibility. A cluster of advisories in 2026, including a CVSS 10 remote-code-execution bug fixed in 10.26.0, means you must keep it updated.

**Best for:** Teams whose users or customers write templates (emails, CMS pages, notifications), and Eleventy or Shopify-style projects that need Liquid syntax.

## Scores

- **Overall: 7.3** (likely 6.2 to 8.3)
  - Claude Opus 5.5 (7.0): LiquidJS is the clear pick in this category for templates written by untrusted users and for Liquid or Eleventy work. It is also better maintained than Nunjucks, Pug and mustache.js. Its 2026 security record means you must pin to recent versions and add timeouts. For general app views, EJS or Eta fit more developers.
  - GPT-6.2 Sol (7.6): LiquidJS is a strong new-project choice when Liquid compatibility matters, with a capable stable API, active maintenance, and established downstream use. Handlebars has a much larger ecosystem for general-purpose HTML, and benchmarks show that EJS or Eta can be faster on some workloads. The recommendation is strongest for trusted templates, where the recent history of failures in limits for user-authored templates carries less weight.
- **Needed by many: 4.7** (likely 3.6 to 6.1)
  - Claude Opus 5.5 (4.5): Server-side templating is a common need, but many app developers now render with JSX or framework components. LiquidJS's angle, Liquid syntax and safe user-authored templates, serves a clear but sizeable niche: static sites, email and CMS products. It is broader than a framework-only tool but narrower than EJS-style general engines.
  - GPT-6.2 Sol (4.8): Server-side templates serve sites, emails, and generated documents. LiquidJS has particular appeal to teams using Eleventy or reusing Liquid syntax, and it also works as a standalone Node.js library. Developer surveys give context on server-side JavaScript use but leave demand for standalone template engines hard to measure.
- **Helps a lot: 7.4** (likely 6.3 to 8.4)
  - Claude Opus 5.5 (7.0): It is a full Liquid implementation with Shopify-compatible tags and filters, async support, layouts and partials, its own TypeScript types and good documentation at liquidjs.com. Sandboxing options such as memoryLimit, renderLimit and ownPropertyOnly are rare among peers. But this year's advisories show those guards had holes, which lowers confidence in its main selling point. Liquid's limited expressiveness also suits user templates better than rich app views.
  - GPT-6.2 Sol (7.7): The stable release offers a documented TypeScript API, reusable layouts and partials, async filters, and Node.js streaming. Strict mode reports missing variables and unknown filters, and Ruby Liquid ports can hit differences in iteration order and filter behavior. Independent benchmarks show that relative speed varies substantially by workload. The range reflects limited performance data for 10.30.1 and little direct evidence on how reliably coding agents generate correct LiquidJS templates.
- **Holds up over time: 7.6** (likely 6.5 to 8.6)
  - Claude Opus 5.5 (7.5): It is the most active project in the bundle: 111 commits, 17 releases, the latest in late October 2026, and only 17 open issues against 420 closed. A v11 alpha branch exists, and v10 has stayed stable for years without painful breaking changes. The main risk is that it depends on one lead maintainer without visible funding, though 110 contributors help.
  - GPT-6.2 Sol (7.7): LiquidJS recorded 111 commits and 17 releases in the past year, with more commits than any listed peer. The October patch shipped a fix one day after a user reported a date-format bug, and the release history includes an early v11 preview. An earlier patch broke an Eleventy canary import, and release continuity is harder to judge with one listed npm maintainer and a small public sponsor base.
- **Used widely: 4.9** (likely 3.8 to 6.0)
  - Claude Opus 5.5 (5.0): It has 14.0M downloads per 4 weeks, up from 3.6M a year ago. That ratio of 3.9 sits just under the 4.1 median, so its share is roughly flat. Much of the volume comes through Eleventy and other tools rather than direct choice. Its 13.7k dependent repos are similar to Eta's and well below Nunjucks, Pug, EJS and Handlebars.
  - GPT-6.2 Sol (4.8): Four-week npm downloads rose from 3.58 million to 14.03 million, or 3.91×. That trails the 4.1× catalog baseline, pointing to a small relative loss, and Eleventy installs inflate the count of direct choices. The 13,708 indexed repos and 336 packages put LiquidJS close to Eta on repository use and far behind Handlebars and EJS. Partial coverage of GitHub leaves the total number of direct adopters uncertain.
- **Vouched for: 7.0** (likely 5.7 to 8.0)
  - Claude Opus 5.5 (6.0): Eleventy builds Liquid support on LiquidJS. Third-party comparisons recommend it for user-generated content. I know that GitHub's docs site uses it, but that rests on my own knowledge and the bundle does not confirm it. There are no survey results and no Hacker News or Bluesky attention, so validation rests on a few framework integrations.
  - GPT-6.2 Sol (8.0): Eleventy uses LiquidJS as its default HTML and Markdown template engine, Shopify CLI uses it to render files, and Waypoint uses it for dynamic email templates. These are concrete uses across site builds, tooling, and email. Published developer retention data is scarce, and independent benchmarks cover a limited set of workloads.
- **Safe: 5.6** (likely 4.4 to 7.0)
  - Claude Opus 5.5 (5.0): It has 19 advisories, 18 of them in the last 24 months. They include a CVSS 10 RCE through the Function constructor (CVE-2026-45618, fixed in 10.26.0) and several HIGH denial-of-service and memoryLimit bypasses up to October 2026. Fixes shipped quickly, it has a single dependency and an MIT licence, and part of the advisory count reflects close scrutiny of its sandbox. Its Scorecard is 6.1, with zero for token permissions, signed releases and fuzzing.
  - GPT-6.2 Sol (6.2): The MIT-licensed package has one dependency and publishes through GitHub Actions using an npm token. All five highlighted advisories had patches before public disclosure, including a critical remote code execution fix, and the advisory index shows no known direct vulnerabilities in 10.30.1. The 6.1 OpenSSF Scorecard flags token permissions, dependency pinning, fuzzing, and release signing. Repeated failures in rendering limits make safety more dependent on deployment, especially when users can write templates.

## Good

- It is very actively maintained, with 111 commits and 17 releases in the last year and issues handled quickly.
- Liquid's restricted syntax, plus options such as memoryLimit and ownPropertyOnly, makes it the natural choice for user-authored templates.
- It ships its own TypeScript types, supports async rendering, and has only one runtime dependency.
- It is the Liquid engine inside Eleventy and is close to Shopify Liquid, so templates and knowledge carry over.

## Bad

- It had 18 advisories in 24 months, including a CVSS 10 RCE before 10.26.0 and several memoryLimit bypasses, so its 'safe' label needs constant patching.
- Liquid is less expressive than Nunjucks or EJS for app views: no plain JavaScript, and limited macros and logic.
- Far fewer projects choose it directly than choose EJS or Handlebars, and its download growth is only at the market median.
- Release work depends heavily on one lead maintainer, with no funding visible from the evidence.

## The numbers

- Downloads, 4 weeks: 14M
- In a year: ×3.9
- GitHub stars: 1.9k
- Commits, 12 months: 111
- Last npm release: Oct 2026
- Advisories, 24 months: 18
- Licence: MIT
- GitHub: https://github.com/harttle/liquidjs
- npm: https://www.npmjs.com/package/liquidjs

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.
