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

x/docxml/src/classes/ZipArchive.ts>ZipArchive#addTextFile

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

Create a new text file in the DOCX archive.

Parameters

location: string
contents: string