Skip to main content
Module

x/docx/scripts/extract-document.ts

Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
Go to Latest
File
import * as unzipper from "unzipper";
const main = async () => { const zip = await unzipper.Open.file("My Document.docx"); await zip.extract({ path: "build/extracted-doc", });};
main();