# harttle/liquidjs

A simple, expressive, safe and Shopify compatible template engine in pure JavaScript.

Repository: https://github.com/harttle/liquidjs
Canonical: https://ross.abutalabs.com/products/liquidjs
Homepage: https://liquidjs.com
Language: TypeScript
License: MIT
License Family: permissive
Topics: liquid, template-engine, nodejs, browser
Last push: 2026-08-11T12:54:00+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 97, longevity 100
- inputs: {"age_days": 3733, "days_push": 22, "days_rel": 22, "gap_med": 14.0, "n_releases_24m": 27}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1862, forks 280 (observed 2026-08-28T04:05:45.438140+00:00)

## What it is
LiquidJS is a pure JavaScript implementation of the Liquid template engine, compatible with Shopify, Jekyll, and GitHub Pages templates. It parses templates to a safe AST without eval, runs in Node.js and browsers, and supports streaming rendering and TypeScript.

## Use cases
- render liquid templates in nodejs
- make shopify themes work in javascript
- render jekyll templates in the browser
- safe template rendering without eval
- stream html rendering to node streams
- render templates from the command line
- build a static site with liquid templates

## When to choose
- you need Shopify/Jekyll-compatible Liquid rendering in JavaScript
- you want a safe, typed, dependency-free template engine for Node or browser
- you need streaming template output for large pages

## When to avoid
- you need a non-Liquid templating syntax like Handlebars or EJS
- you need server-side rendering of a full frontend framework
- your project is not JavaScript/TypeScript based

## Facets
- artifact type: library
- maturity: stable
- function: templating, parser
- domain: web-development, frontend, backend, developer-tools
- platform: browser, cli, cross-platform
- tags: liquid, template-engine, shopify, jekyll, typescript, static-site-generator, nodejs

## Member repositories
- harttle/liquidjs (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:45.438140+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:15:42.092190+00:00, confidence not recorded.
  - readme: https://github.com/harttle/liquidjs (fetched 2026-08-28T04:05:45.438140+00:00, sha 22bec85fc9ea)
  - homepage: https://liquidjs.com (fetched 2026-08-29T10:54:57.724722+00:00, sha bbfa8005709a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
