Unzipping and zipping files
elfoxero opened this issue · comments
Suggested by Winkelpower:
Unzipping and zipping files.
Maybe by using zip.js from github?
Or JSZip is also usable
It's complicated to choose a library, but I think zip.js uses more web technologies (like webworkers) than jszip. furthermore EPUBReader already uses zip.js, so its performance is acceptable in Firefox OS.
By the way, there is an interesting natively API called Archive to read the content of compressed files, but it's not enabled by default x.x
I finally chose JSZip, because:
- It's a single file.
- 77kb minified.
- It can run into a Webworker (not depend of special data type).
- Understandable documentation
;) and it seems that the development is more active than zip.js
+1 good point