LiquidJS
A strong pick. 1st of 8 template engines.
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
Overall7.3
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.0, likely 6.0 to 8.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.
- github commitsLastYear: Most active project among its peers
- advisories.recent: Recent critical and high advisories
- peers: Nunjucks has had no release since 2023, and mustache.js none since 2021
- 11ty.dev/docs/languages/liquid: Backed by Eleventy integration
GPT-6.2 Sol: 7.6, likely 6.4 to 8.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.
- github.com/harttle/liquidjs/releases: Shows a steady stable release cadence and fixes.
- 11ty.dev/docs/languages/liquid: Eleventy relies on LiquidJS in stable releases.
- dependents, peers: Handlebars has a substantially larger indexed ecosystem.
- github.com/crafter999/template-engine-benchmarks: Eta and EJS are faster in this independent test.
- liquidjs.com/tutorials/security-model.html: The project recommends isolating user-authored rendering.
Needed by many4.7
How many developers need a tool for this job?
Claude Opus 5.5: 4.5, likely 3.5 to 6.0
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.
- 11ty.dev/docs/languages/liquid: Liquid is a core Eleventy template language
- npm-compare.com/ejs,handlebars,liquidjs,nunjucks,pug: Compared alongside general server-side engines
- dependents.repos: 13.7k repos, versus 1.5M for EJS
GPT-6.2 Sol: 4.8, likely 3.6 to 6.1
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.
- 11ty.dev/docs/languages/liquid: Eleventy integrates LiquidJS across multiple major versions.
- liquidjs.com/api: Documents standalone Node.js, browser, and CLI use.
- survey.stackoverflow.co/2026/technology/data/web-framework: Measures Node.js and framework use without a standalone templating breakdown.
Helps a lot7.4
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.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.
- npm hasTypes: Ships its own types
- advisories.recent: Several bypasses of memoryLimit and ownPropertyOnly
- liquidjs.com/tutorials/changelog: Steady feature and fix releases through 10.30.x
- socket.dev/npm/package/liquidjs: Described as a safe, Shopify-compatible engine
GPT-6.2 Sol: 7.7, likely 6.5 to 8.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.
- github.com/harttle/liquidjs/blob/v10.30.1/src/liquid.ts: Stable rendering, streaming, and extension APIs.
- liquidjs.com/api: Quick start and documentation for layouts and partials.
- liquidjs.com/tutorials/options: Strict handling of missing variables and unknown filters is configurable.
- liquidjs.com/tutorials/differences.html: Documents differences in coercion, iteration, and parsing.
- github.com/itsarnaud/template-engine-bench: Independent synchronous tests show large gaps on some workloads.
- github.com/crafter999/template-engine-benchmarks: A small separate benchmark places LiquidJS between several peers.
Holds up over time7.6
Will it still be a good choice in two years?
Claude Opus 5.5: 7.5, likely 6.5 to 8.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.
- github commitsLastYear / releasesLastYear: 111 commits and 17 releases
- github openIssues / closedIssues: 17 open versus 420 closed
- newreleases.io/project/npm/liquidjs/release/11.0.0-alpha.1: v11 alpha branch started in July 2026
- scorecard Maintained: Scores 10
GPT-6.2 Sol: 7.7, likely 6.4 to 8.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.
- github commitsLastYear, github releasesLastYear, peers commitsLastYear: 111 commits and 17 releases, with the highest commit count among these peers.
- github.com/harttle/liquidjs/issues/973: The project closed a reported date-format bug on the day it was filed.
- github.com/harttle/liquidjs/releases: Lists the October fix and the v11 alpha alongside regular v10 releases.
- github.com/11ty/buildawesome/issues/3425: Eleventy users reported a default import regression in a 2024 patch.
- security.snyk.io/package/npm/liquidjs: Lists one package maintainer.
- github.com/sponsors/harttle: Public sponsorship includes Customer.io.
Used widely4.9
How many use it, and is that growing?
Claude Opus 5.5: 5.0, likely 4.0 to 6.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.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 14.0M versus 3.58M, a ratio of about 3.9
- medianDownloadsRatio: Median ratio is 4.1
- dependents.repos: 13,708 repos and 336 packages
- github stars: 1.9k stars
GPT-6.2 Sol: 4.8, likely 3.6 to 6.0
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.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: 3.91× year-over-year growth versus the 4.1× baseline.
- dependents, peers: 13,708 indexed repos versus 15,007 for Eta and over a million each for Handlebars and EJS.
- github stars, hackerNews stories, bluesky posts: 1,889 stars and no matched stories or posts in the supplied counts.
- 11ty.dev/docs/config: Eleventy defaults to Liquid for HTML and Markdown.
- 11ty.dev/docs/languages/liquid: Confirms that Eleventy's Liquid engine is the liquidjs package.
Vouched for7.0
Who stands behind it being good?
Claude Opus 5.5: 6.0, likely 4.5 to 7.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.
- 11ty.dev/docs/languages/liquid: Eleventy 2.x and 3.x bundle liquidjs 10.x
- npm-compare.com/ejs,handlebars,liquidjs,nunjucks,pug: Independent comparison favours it for user templates
- github/docs: GitHub's docs site renders content with liquidjs
- hackerNews / bluesky: No stories and no posts
GPT-6.2 Sol: 8.0, likely 6.8 to 9.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.
- 11ty.dev/docs/config: Liquid is the default engine for HTML and Markdown.
- 11ty.dev/docs/languages/liquid: Eleventy identifies LiquidJS as its implementation.
- github.com/Shopify/cli/blob/main/packages/cli-kit/src/public/node/liquid.ts: Shopify CLI imports LiquidJS and renders project files with it.
- usewaypoint.com/docs/liquidjs-templating: Waypoint documents its use of LiquidJS in its email template builder.
- 2025.stateofjs.com/en-US/libraries: The survey's library results give no LiquidJS retention measure.
- github.com/crafter999/template-engine-benchmarks: Independent comparison uses a simple rendering workload.
Safe5.6
How safe is it to depend on?
Claude Opus 5.5: 5.0, likely 4.0 to 6.5
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.
- orca.security/resources/blog/critical-rce-in-liquidjs-lets-attackers-execute-arbitrary-commands-on-unpatched-hosts: CVSS 10 RCE before 10.26.0
- ccb.belgium.be/advisories/warning-critical-remote-code-execution-affects-liquidjs-patch-immediately: National CERT urged immediate patching
- advisories.last24Months: 18 advisories, several HIGH
- scorecard score: 6.1, with weak token permissions and signing
- npm dependencies: One dependency
GPT-6.2 Sol: 6.2, likely 4.8 to 7.5
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.
- npm dependencies, npm license, advisories, scorecard checks: One dependency, MIT, 18 recent advisories, and weak release and testing checks.
- github.com/harttle/liquidjs/blob/v10.30.1/.github/workflows/release.yml: Shows automated releases using an npm token.
- github.com/advisories/GHSA-gf2q-c269-pqgc: The critical issue was fixed in 10.26.0 before publication.
- github.com/harttle/liquidjs/security/advisories: Lists the project's public disclosure dates.
- github.com/harttle/liquidjs/releases: Versions 10.27.1 and 10.27.2 shipped the other highlighted repairs before disclosure.
- security.snyk.io/package/npm/liquidjs: Reports no known direct vulnerabilities in 10.30.1.
- liquidjs.com/tutorials/security-model.html: Recommends process isolation and external limits for user-authored 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
- npm downloads, 4 weeks
- 14M ×3.9 in a year
- GitHub stars
- 1.9k
- Commits, 12 months
- 111
- npm version
- 10.30.1 Oct 2026
- Versions, 12 months
- 16
- Advisories, 24 months
- 18 of 19 ever
- OpenSSF Scorecard
- 6.1 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (harttle/liquidjs), npm (liquidjs), OSV and the OpenSSF Scorecard.