Skip to main content

Liquid templates for JavaScript

Compatible

LiquidScript strives to be 100% compatible with the reference implementation of Liquid, written in Ruby. Including Liquid integer and float data types, and built-in filters that perform decimal arithmetic.

Safe

Designed for situations where template authors are untrusted, LiquidScript is non evaluating, it guards against mutation of shared template data, and will never call arbitrary functions or methods on render context objects.

Flexible

Add to, remove or replace built-in tags and filters to suit your needs. Define custom template loaders to read template source text from a database, a remote file system, or parse front matter data.