UNPKG

combine-word

Version:

A package to merge multiple Word (.docx) documents into one, including headers, footers, and metadata.

26 lines (21 loc) 526 B
declare module "combine-word" { interface CombineWordOptions { pageBreak?: boolean; title?: string; subject?: string; author?: string; keywords?: string; description?: string; lastModifiedBy?: string; vision?: string; } class CombineWord { constructor( options: CombineWordOptions, files: Array<Buffer | ArrayBuffer> ); docx: JSZip | null; save(type: string, callback: (fileData: any) => void): void; } export = CombineWord; }