Files
docx-js/scripts/schema-validator/index.ts
2021-09-30 00:19:03 +01:00

11 lines
209 B
TypeScript

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();