UNPKG

templify-js

Version:

A simple template language engine for Typescript

11 lines (10 loc) 342 B
export declare class Templify { private template; private pipes; constructor(template: string); addPipe(name: string, callback: (value: any, arg?: string) => any): void; simplify(template?: string): string; render(data: any, template?: string): string; private getPropertyValue; private applyPipe; }