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.

9 lines (8 loc) 381 B
/// <reference types="node" /> import { Context } from '../context'; import { Template } from '../template'; import { Emitter } from '../emitters'; export declare class Render { renderTemplatesToNodeStream(templates: Template[], ctx: Context): NodeJS.ReadableStream; renderTemplates(templates: Template[], ctx: Context, emitter?: Emitter): IterableIterator<any>; }