You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,16 +42,19 @@ async function main () {
42
42
### Options
43
43
44
44
-`dir` (required) - the path to the directory where the extracted files are written
45
+
-`encoding` - string - [encoding][] to be used for file names, defaults to `utf-8`
45
46
-`defaultDirMode` - integer - Directory Mode (permissions), defaults to `0o755`
46
47
-`defaultFileMode` - integer - File Mode (permissions), defaults to `0o644`
47
48
-`onEntry` - function - if present, will be called with `(entry, zipfile)`, entry is every entry from the zip file forwarded from the `entry` event from yauzl. `zipfile` is the `yauzl` instance
48
49
49
50
Default modes are only used if no permissions are set in the zip file.
0 commit comments