docx
Version:
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
6 lines (5 loc) • 338 B
TypeScript
import { Element } from 'xml-js';
export declare const toJson: (xmlData: string) => Element;
export declare const createTextElementContents: (text: string) => Element[];
export declare const patchSpaceAttribute: (element: Element) => Element;
export declare const getFirstLevelElements: (relationships: Element, id: string) => Element[];