Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/docxml/src/Docx.ts>Docx.fromJsx

An experimental Deno tool to transform XML to DOCX with a little XPath- and component based configuration
Go to Latest
method Docx.fromJsx
import { Docx } from "https://deno.land/x/docxml@3.1.1/src/Docx.ts";

Create a new DOCX with contents composed by this library's components. Needs a single JSX component as root, for example <Section> or <Paragragh>.