JSZip.js Jump Start PRO

JSZip.js is a JavaScript framework for creating, editing and reading ZIP files. Useful both on the server and on the client this JavaScript is intutitive and easy to learn.

The following video clip goes over the currently available types of charts you can create using moris.js framework.

The following video clip goes through the very first steps you need to complete in order to use this library.

The code shown in this video clip is available below. Make sure you fix the relative links to the files that belong to the JSZip.js library.

<!DOCTYPE html>
<html>
<head>
    <title>jszip demo</title>
    <script type="text/javascript" src="jszip.js"></script>
    <script type="text/javascript">
        function pack()
        {
            var zip = new JSZip();
            zip.file("readme.txt", "This zip file was created using the JSZip library!");
            var docs = zip.folder("documents");
            docs.file("hello.txt","hello world!");
            docs.file("goodmorning.txt","good morning everyone!");
            var content = zip.generate();
            location.href="data:application/zip;base64,"+content;
        }
    </script>
</head>
<body>
    <input type="button" value="press here" onclick="pack()"/>
</body>
</html>

You can find more slides and video clips for learning how to use the JSZip.js library in my new JSZip.js Basics free course at http://abelski.lifemichael.com.

Share:

banner for the css playlist in hebrew life michael courses for programmers

The First Steps in CSS

Learn CSS using our our videos (in Hebrew) on the CSS (he) playlist on youtube. Do it now. Do it for free.

Good Trainers Collaborate with Others

It is always essential to keep an open mind and learn from others. This applies to everyone, including teachers and especially software development trainers. Software

The Beauty of Code

Coding is Art! Developing Code That Works is Simple. Develop Code with Style is a Challenge!

Update cookies preferences