UNPKG

squirrelly

Version:

Lightweight, fast, and powerful JS template engine. Supports helpers, filters, template inheritance

5 lines (4 loc) 264 B
import { PartialConfig } from './config'; import { TemplateFunction } from './compile'; import { CallbackFn } from './file-handlers'; export default function render(template: string | TemplateFunction, data: object, env?: PartialConfig, cb?: CallbackFn): any;