parse-zip-folder
Documentation / lib/components/Editor/docx/parse-zip-folder
getFilesInFolder()​
function getFilesInFolder(dir: string, files: string[]): string[];
Defined in: web-app/src/lib/components/Editor/docx/parse-zip-folder.js:43
Get all files in folder and subfolders as file paths array
Parameters​
Parameter | Type | Default value | Description |
---|---|---|---|
|
|
| the directory to browse for files |
|
|
| (omit this param, used for recursion) |
Returns​
string
[]
files array of file paths
handleZipOfDocx()​
function handleZipOfDocx(zipPath: any, outputFolder: any): string[];
Defined in: web-app/src/lib/components/Editor/docx/parse-zip-folder.js:10
Get all docx in zip as file paths array and process data
Parameters​
Parameter | Type |
---|---|
|
|
|
|
Returns​
string
[]
files array of file paths