liquidjs
Version:
A simple, expressive, extensible Liquid template engine for JavaScript — Shopify, Jekyll and GitHub Pages compatible, for Node.js, browsers, and the CLI, with TypeScript support.
9 lines (8 loc) • 361 B
TypeScript
/**
* Crypto related filters
*
* Implements sha256 and hmac_sha256 filters for Shopify compatibility
*/
import { FilterImpl } from '../template';
export declare function sha256(this: FilterImpl, value: unknown): string | Promise<string>;
export declare function hmac_sha256(this: FilterImpl, value: unknown, key: unknown): string | Promise<string>;