Skip to main content
Module

x/docxml/mod.ts>Docx.fromArchive

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

Instantiate this class by giving it a .docx file if it is already loaded as a ZipArchive instance.

Parameters

archive: ZipArchive

Returns

Promise<Docx>

Instantiate this class by pointing at a .docx file location.

Parameters

location: string

Returns

Promise<Docx>