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: docs/bitjs.archive.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,11 @@ This package includes objects for unarchiving binary data in popular archive for
4
4
providing unzip, unrar and untar capabilities via JavaScript in the browser or various JavaScript
5
5
runtimes (node, deno, bun).
6
6
7
-
A prototype version of a compressor that creates Zip files is also present. The decompression /
8
-
compression happens inside a Web Worker, if the runtime supports it (browsers, deno).
7
+
A prototype version of a compressor that creates Zip files is also present.
8
+
9
+
The decompression / compression happens inside a Web Worker, if the runtime supports it (browsers,
10
+
deno). The library uses native decompression, if supported by the browser
11
+
(via [DecompressionStream](https://developer.mozilla.org/en-US/docs/Web/API/DecompressionStream/DecompressionStream)), and falls back to JavaScript implementations otherwise.
9
12
10
13
The API is event-based, you will want to subscribe to some of these events:
11
14
* 'progress': Periodic updates on the progress (bytes processed).
0 commit comments