Templates are readable and fault-tolerant, parsed to an AST with no eval or new Function. The whole repo is written in TypeScript strict mode, so types stay precise and docs accurate.
Written in pure JavaScript with no native bindings, running in both Node.js and the browser. The CMD, ESM and CJS bundles are all available on CDN.
All filters and tags from Ruby shopify/liquid are supported, so Shopify templates work out of the box — as do Jekyll sites and GitHub Pages.
Render directly to a Node.js stream with renderToNodeStream, emitting output as it's produced — for a faster time to first byte and low memory usage on large pages.
Thanks to these wonderful people! See contribution guidelines if you'd like to help.
If you personally love LiquidJS or it's benefiting your business, please sponsor us!