Skip to main content
Module

x/docxml/mod.ts>default

An experimental Deno tool to transform XML to DOCX with a little XPath- and component based configuration
Go to Latest
class default
import { default } from "https://deno.land/x/docxml@1.4.0/mod.ts";

Constructors

new
default(options?: Options)

Type Parameters

PropsGeneric extends { [key: string]: unknown; }

Properties

private
readonly
options: Options
private
readonly
renderer: GenericRenderer<RuleResult, ReturnType<publicApiForBundle> & PropsGeneric>
readonly
document
readonly
docx: Docx
readonly
JSX
readonly
styles

Methods

match(xPathTest: string, transformer: Parameters<this.renderer.add>[1])
transform(xml: string, props: PropsGeneric)