UNPKG

html-docx-ts

Version:

Convert HTML documents to docx format with header and footer.

4 lines (3 loc) 288 B
/// <reference types="node" /> import { DocumentOptions, DocumentConfig } from './internal'; export declare function asBlob(htmlSource: string, options?: Partial<DocumentOptions>, headerConfig?: Partial<DocumentConfig>, footerConfig?: Partial<DocumentConfig>): Promise<Blob | Buffer>;