unzip-crx
unzip-crx copied to clipboard
Hack to support crx3
New format has single protobuf header field this supports versions 2 and 3
This index.txt index.txt can be copied to ./node_modules/unzip-crx/dist/index.js
I have made a PR adding crx3 support, but seems like the repo isn't actively maintained.
https://github.com/peerigon/unzip-crx/pull/11
typescript version with only jszip as dependency: https://github.com/tjx666/vscode-archive/blob/main/src/unzipCrx.ts
This package is working.
It's a re-upload of the original with the fix to make it work with v.3. I haven't tested with version 2