• Post Reply Bookmark Topic Watch Topic
  • New Topic

Create & Read zip file in Javascript  RSS feed

 
Lavanya M Vignesh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to figure out how a zip file can be created/read using Javascript. I came across the open source library jszip.
I would like to know if there is any other way (out of the box solution) to achieve this ?

Thanks,
Lavanya
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66306
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, if a library can do it, then it means that it can be done in JavaScript. Figuring out how is the tricky part.

Also, on the server or on the browser? The browser obviously has severe limitations that don't exist on the server. Does the library claim to work in the browser environment?
 
Lavanya M Vignesh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would want to do it in the browser. The library claims to work in browser, but I wanted to check if there are any out of the box solution which doesn't create the dependency with the library.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66306
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lavanya M Vignesh wrote:I wanted to check if there are any out of the box solution which doesn't create the dependency with the library.

An "out of the box" solution is a library. 

Did you mean a "build it yourself" solution? (And if so, why? Re-inventing the wheel usually isn't a time-saving approach.)

If I had to avoid library code, I'd start by downloading the library and inspect its source code to see how they approached it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!