docxtemplater
Version:
Generate docx, pptx, and xlsx from templates (Word, Powerpoint and Excel documents), from Node.js, the Browser and the command line
17 lines (13 loc) • 412 B
TypeScript
import { DXT } from "./docxtemplater";
declare class TxtTemplater {
static default: typeof TxtTemplater;
/**
* Create TxtTemplater instance (and compile it on the fly)
*
* @param content the template that you want to use
* @param options `modules` and other options
*/
constructor(content: string, options?: DXT.ConstructorOptions);
render(data?: any): string;
}
export = TxtTemplater;