11 lines
209 B
TypeScript
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();
|