UNPKG

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.

10 lines (9 loc) 368 B
/** * Base64 related filters * * Implements base64_encode and base64_decode filters for Shopify compatibility */ /// <reference types="node" /> import { FilterImpl } from '../template'; export declare function base64_encode(this: FilterImpl, value: string | Buffer): string; export declare function base64_decode(this: FilterImpl, value: string): string;