문제

is there a library to unRAR files? The rar files I have to work with contain multiple files.

I'm looking for a way to navigate rar content, and get a blob with the uncompressed content of a selected file within the .rar one.

I'm already using zip.js to unzip files, and need the same for RAR. Thanks a lot for your time reading it.

도움이 되었습니까?

해결책

I know this is an old question. But bitjs is no longer maintained, and very hard to use.

Try https://github.com/workhorsy/uncompress.js . It even works with RAR 5.

Here is the most trivial example I could make: http://workhorsy.github.io/uncompress.js/examples/trivial/index.html .

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top