Gathering detailed insights and metrics for liquidjs
Gathering detailed insights and metrics for liquidjs
Gathering detailed insights and metrics for liquidjs
Gathering detailed insights and metrics for liquidjs
liquidjs-lib
Client-side Liquid JavaScript library
@lionrockjs/adapter-view-liquidjs
The LionRockJS Web Platform support using LiquidJS
liquidjs-wrapper
A wrapper around LiquidJS to provide Shopify OS 2.0-like theme rendering capabilities.
@asoltys/liquidjs-lib
Client-side Liquid JavaScript library
A simple, expressive, safe and Shopify compatible template engine in pure JavaScript.
npm install liquidjs
Typescript
Module System
Min. Node Version
Node Version
NPM Version
98.6
Supply Chain
100
Quality
86.4
Maintenance
100
Vulnerability
100
License
TypeScript (94.57%)
JavaScript (3.74%)
Liquid (0.79%)
Shell (0.59%)
Handlebars (0.3%)
HTML (0.01%)
Total Downloads
63,235,513
Last Day
28,853
Last Week
593,219
Last Month
2,638,813
Last Year
24,907,374
MIT License
1,667 Stars
1,231 Commits
248 Forks
25 Watchers
17 Branches
81 Contributors
Updated on Jul 02, 2025
Minified
Minified + Gzipped
Latest Version
10.21.1
Package Id
liquidjs@10.21.1
Unpacked Size
1.68 MB
Size
366.15 kB
File Count
159
NPM Version
8.19.4
Node Version
14.21.3
Published on
May 14, 2025
Cumulative downloads
Total Downloads
1
45
A simple, expressive and safe Shopify / GitHub Pages compatible template engine in pure JavaScript. The purpose of this repo is to provide a standard Liquid implementation for the JavaScript community so that Jekyll sites, GitHub Pages and Shopify templates can be ported to Node.js without pain.
Basically there're two types of Liquid syntax: tags enclosed by {% %}
and outputs enclosed by {{ }}
. A Liquid template looks like:
1{% if username %} 2 {{ username | append: ", welcome to LiquidJS!" | capitalize }} 3{% endif %}
A live demo is also available and here's a quick tutorial for Liquid syntax.
Install from npm in Node.js:
1npm install liquidjs
Or use the UMD bundle from jsDelivr:
1<script src="https://cdn.jsdelivr.net/npm/liquidjs/dist/liquid.browser.min.js"></script>
Or render directly from CLI using npx:
1npx liquidjs --template 'Hello, {{ name }}!' --context '{"name": "Snake"}'
For more details, refer to the Setup Guide.
Feel free to create a PR or contact me to add your use case into this list!
If you personally love LiquidJS or it's benefiting your business, please consider financially support us via GitHub Sponsors. Special thanks to our sponsors!
Want to contribute? see Contribution Guidelines. Thanks goes to these wonderful people:
5.3/10
Summary
liquidjs may leak properties of a prototype
Affected Versions
< 10.0.0
Patched Versions
10.0.0
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
6 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 5
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
Found 6/26 approved changesets -- score normalized to 2
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
59 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreLast Day
2.9%
28,853
Compared to previous day
Last Week
-8.7%
593,219
Compared to previous week
Last Month
4.4%
2,638,813
Compared to previous month
Last Year
63%
24,907,374
Compared to previous year