Skip to content
/ liquid Public
forked from harttle/liquidjs

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

License

Notifications You must be signed in to change notification settings

tknf/liquid

 
 

Repository files navigation

@tknf-labs/liquid

This repository is a fork of LiquidJS by harttle. Modified to work in ESM environments such as Vite.

Installation

Install from npm in Node.js:

npm install @tknf-labs/liquid

How to Use

For more information on the functionality of liquidjs and how to use it in your project, please refer to the documentation of the fork source.

The only difference is that the fs option is required during initialization when loading in a Node.js environment.

import { Liquid } from "@tknf-labs/liquid";
import * as fs from "@tknf-labs/liquid/node/fs";

const engine = new Liquid({ fs });

Acknowledgements

This project builds on the incredible work done by Jun Yang and all contributors to the original LiquidJS project. We aim to complement their efforts by extending functionality for specific use cases.

About

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

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.9%
  • JavaScript 2.4%
  • Other 0.7%