• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Create & Read zip file in Javascript

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic