最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

UNRAR in javascript - Stack Overflow

programmeradmin2浏览0评论

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 unpressed 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.

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 unpressed 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.

Share Improve this question asked Jan 4, 2013 at 13:36 Alejandro SilvestriAlejandro Silvestri 3,78434 silver badges46 bronze badges 5
  • 3 First link when you google unrar javascript: unrar.js – Sani Huttunen Commented Jan 4, 2013 at 13:38
  • I can see you didn't try it. I couldn't make it work, neither find an alternative. – Alejandro Silvestri Commented Feb 7, 2013 at 14:04
  • @YoArgentino did you try to run the script into a web worker? – check_ca Commented Feb 21, 2013 at 0:00
  • Yes, but the code is undocumented and need a lot of energy to run it. And reading it, I found it supports so few rar versions, and I need more versions supported for my application. – Alejandro Silvestri Commented Feb 26, 2013 at 14:27
  • The new home for bitjs is at GitHub for about a decade: github./codedread/bitjs - but it does not support every version of RAR. – codedread Commented Dec 15, 2023 at 0:38
Add a ment  | 

1 Answer 1

Reset to default 6

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

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

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

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论