in , ,

Create ZIP Files in JavaScript With JSZip

Advertisement

jsZip

Zip file format is very useful while compressing files. It is widely used over the internet for reducing size of a file before uploading or downloading. I have already posted some articles on creating zip files with PHP. In this article, i will show you the way of creating zip files with the help of javascript.
There is a nice javascript api JSZIP which generated zip files. All you need to include this js file in your document.

See the example below in which we are going to add 2 text files into a zip with the help of javascript.
Include this javascript api in your webpage where you want to create a zip file. See the jsZip example code below

Download the API

Advertisement

Advertisement

Written by Deepanker

Deepanker Verma is the founder of Techlomedia. He is a tech blogger, developer and gadget freak.

2 Comments

Leave a Reply
  1. I just could not depart your website prior to suggesting that I actually loved the standard info an individual provide to your visitors? Is gonna be back incessantly to check out new posts

One Ping

  1. Pingback:Unzip a Zip File in PHP

Leave a Reply

Your email address will not be published. Required fields are marked *

Loading…

Simple Fade effect with CSS3

Top 5 Domain Name Suggestion Tools